I have tested the library in Ubuntu 16.04, but it should be easy to compile in other platforms.
I use Pangolin for visualization and user interface. Dowload and install instructions can be found at: https://github.com/stevenlovegrove/Pangolin.
Download and install instructions can be found at: http://eigen.tuxfamily.org. Required at least 3.1.0.
git clone https://github.com/georgebola/Octree
mkdir build
cd build
cmake ..
make
./build/sample/sample Z6.obj