BuffetRaider
-
Posts
2 -
Joined
-
Last visited
Posts posted by BuffetRaider
-
-
Edit: Mods can lock this thread, solved on IRC. Second post contains workaround.
I found a locked thread bearing the same error message, but the problem this time isn't that I have the wrong version of Boost (vs2013 libs, trying to install with vs2015 as in the locked thread). I have the correct version of Boost (1_59_0_msvc-14.0-64) and the environment variables are correctly configured. Error text from CMake log:
CMake Error at cmake/macros/FindBoost.cmake:1184 (message):
Unable to find the requested Boost libraries.
Boost version: 1.59.0
Boost include path: C:/Boost/boost_1_59_0
Could not find the following static Boost libraries:
boost_system
boost_filesystem
boost_thread
boost_program_options
boost_iostreams
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/macros/ConfigureBoost.cmake:32 (find_package)
CMakeLists.txt:62 (include)I even tried renaming the directories in my boost install (they have no 'boost_' prefix by default) to no avail.
Also, IRC is dead for the night so I figured I'd post here.
Any help is appreciated.
Compile or cmake problems
in Help and Support
Posted · Edited by BuffetRaider
Mods: This thread can be locked.
Solved over IRC with help from m3 and tkrokli. A workaround for this is to manually target each relevant library file in the CMake GUI as shown below. Make sure the "Grouped" and "Advanced" boxes are checked, then expand the Boost tree. Click on the Value field and a [...] icon should show up on the right to allow you to browse to the file.