[CMake] problems (again) finding boost on Windows MSVC 64 bit
Dominik Szczerba
dominik at itis.ethz.ch
Fri Jul 8 10:53:35 EDT 2011
Hi,
Anytime I touch boost, cmake (2.8.4) fails to find it. Why is it so fragile?
This time it would not find boost static build while it would find a
shared one (the last time it was the exact opposite).
I am quite overwhelmed by the required variables, I count 7 of them:
BOOST_ROOT, BOOST_LIBRARYDIR, Boost_INCLUDE_DIR, Boost_LIBRARY_DIRS,
Boost_THREAD_LIBRARY, Boost_THREAD_LIBRARY_DEBUG,
Boost_THREAD_LIBRARY_RELEASE.
I keep setting them to the right values to keep receiving the same
error message:
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/FindBoost.cmake:1128 (message):
Unable to find the requested Boost libraries.
Boost version: 1.46.1
Boost include path: P:/boost-1.46.1-static/x64/include/boost-1_46_1
The following Boost libraries could not be found:
boost_thread
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.
Is anyone able to clear the confusion?
Regards,
Dominik
More information about the CMake
mailing list