Last Updated: February 25, 2016
·
687
· gohan

Boost+CMake work with windows VS 2008/2010/2012

already build the boost and set the BOOST_ROOT still can't found boost library?

CMakeLists.txt works well at mac/xcode

solution:

compile boost with command below:

b2.exe link=shared threading=multi --ignore-python --ignore-mpi --layout=tagged

learn from:

http://stackoverflow.com/questions/15238350/windows-boost-and-cmake

also could try:

http://stackoverflow.com/questions/13280823/cmake-not-finding-boost