Can't get CMake to configure
I downloaded the OSVR CMake project. Having a hugely difficult time getting CMake to configure this project. I had to go back and get jsoncpp and libfunctionality (& SDL2 & openCV). I think I've solved all those issues. However, I'm now trying to point at Boost. I have a previous version of Boost on my machine: boots_1_61_0. I'm pretty sure this is a legitimate version of Boost. However, in the OSVR CMake project, it's asking for me to specify my 'Boost_DIR' which is normally where there would be a boostConfig.cmake file. However, no such file exists in my Boost project. Is there a different place from where I can get Boost that is a version compatible with OSVR?
That's the same version of Boost that I'm using so that's not where the problem comes from.
The build system should find Boost if you add its installation directory to CMAKE_PREFIX_PATH when configuring OSVR.
cmake -DCMAKE_PREFIX_PATH="path_to_your_boost_installation" ...
You can also download boost, extract it, build it (e.g.:
b2 install --prefix=d:\somepath\install\boost\ --stagedir=./stage/x64 address-model=64 --toolset=msvc-12.0 but create the dir stage/x64 before running that command).
Afterwards add a new item in the osvr cmake:
Boost_LIBRARYDIR with value d:\somepath\install\boost\lib
and also add a value d:\somepath\install\boost\include\boost-1_63\ for item BOOST_INCLUDE_DIR
Also consider closing https://github.com/OSVR/OSVR-Core/issues/535 which seems to be created by accident.