Open o-smirnov opened 10 years ago
Installed boost 1.55 to /usr/local/boost-1.55.
/usr/local/boost-1.55
The cmake FindBoost script is pretty fucking braindead though. Ended up with the following cmake command to get it to work:
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DBOOST_ROOT=/usr/local/boost-1.55/ -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-5.5/ -DBoost_SYSTEM_LIBRARY=/usr/local/boost-1.55/lib/libboost_system.so -DBoost_THREAD_LIBRARY=/usr/local/boost-1.55/lib/libboost_thread.so -DBoost_SYSTEM_LIBRARY_RELEASE=/usr/local/boost-1.55/lib/libboost_system.so -DBoost_THREAD_LIBRARY_RELEASE:FILEPATH=/usr/local/boost-1.55/lib/libboost_thread.so -DBoost_NO_SYSTEM_PATHS=1 ..
And yes, the stupid beast does need FILEPATH for the thread library but not for the other libraries, god only knows why...
Also need to add this to CMakeLists.txt:
CMakeLists.txt
set(Boost_ADDITIONAL_VERSIONS "1.55" "1.55.0")
Installed boost 1.55 to
/usr/local/boost-1.55
.The cmake FindBoost script is pretty fucking braindead though. Ended up with the following cmake command to get it to work:
And yes, the stupid beast does need FILEPATH for the thread library but not for the other libraries, god only knows why...