Hi, I just switch form CMake 2.8.8 to 2.8.9. The CMake files worked before. I'm using a (non-modified) build from source of Boost 1.50, finding it with FindBoost module. I'm using VS2011 RC on Win 7 64bit. (the project I generate isn't 64 bit though).
Now I got this error: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Boost_CHRONO_LIBRARY (ADVANCED) linked by target "blahblahblah Boost_DATE_TIME_LIBRARY (ADVANCED) linked by target "blahblahblah Boost_FILESYSTEM_LIBRARY (ADVANCED) linked by target "blahblahblah Boost_LOG_LIBRARY (ADVANCED) linked by target "blahblahblah Boost_LOG_SETUP_LIBRARY (ADVANCED) linked by target "blahblahblah Boost_PROGRAM_OPTIONS_LIBRARY (ADVANCED) linked by target "blahblahblah Boost_SYSTEM_LIBRARY (ADVANCED) linked by target "blahblahblah Boost_THREAD_LIBRARY (ADVANCED) linked by target "blahblahblah I edited the target and path, there is only one target linking to boost libraries in my setup. (Note: log is not in boost 1.50 but it shouldn't be a problem here). On CMake GUI I got this strange variables: Boost_CHRONO_LIBRARY : optimized;E:/Projects/SDK/boost/boost/lib/libboost_chrono-vc110-mt-1_50.lib;debug;E:/Projects/SDK/boost/boost/lib/libboost_chrono-vc110-mt-gd-1_50.lib Boost_CHRONO_LIBRARY_DEBUG : Boost_CHRONO_LIBRARY_DEBUG-NOTFOUND Boost_CHRONO_LIBRARY_RELEASE : Boost_CHRONO_LIBRARY_RELEASE-NOTFOUND I got these 3 for each boost library that need linking (including log). As you can see the libraries are found but the _DEBUG and _RELEASE variables are wrong. Boost_DIR have not been set (Boost_DIR-NOTFOUND ) , I'm using Boost_ROOT and it apparently partially work. Boost_INCLUDE_DIR and Boost_LIBRARY_DIRS are both set at correct values (I verified that the files were correfly named too). In my environnement variables I had BOOST_DIR and BOOST_ROOT set. I changed them to Boost_DIR and Boost_ROOT. It didn't fix the problem. Now I'm getting back to CMake 2.8.8 because I need it immediately, but I can try solutions if you can point me to one. My suspiscion right now is that there have been a modification to FindBoost but I didn't check (no time at the moment). Joel Lamotte
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
