MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0009510 | CMake | Modules | public | 2009-09-09 10:51 | 2010-11-09 22:58 |
Reporter | dataangel | ||||
Assigned To | Philip Lowman | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | CMake-2-6 | ||||
Target Version | CMake 2.8.3 | Fixed in Version | CMake 2.8.3 | ||
Summary | 0009510: FindBoost.cmake still can't find boost on cygwin | ||||
Description | There's already a bug report for this but I can't reopen it since I'm not the original reporter. The summary pretty much says it all. Using cmake 2.6.4 and the version of FindBoost.cmake in trunk, I still can't get cmake to pick up boost on cygwin. I've installed boost into C:\build (/cygdrive/c/build). Here's how I invoke cygwin: BOOST_ROOT=/cygdrive/c/build/ BOOST_INCLUDEDIR=/cygdrive/c/build/include -1_39/ cmake -G Unix\ Makefiles --debug-trycompile -DCMAKE_CXX_COMPILER=/usr /g++ -DCMAKE_C_COMPILER=/usr/bin/gcc -DBoost_DEBUG=On And here's the output (there's a little extra "Looking for" message I added that prints out first name it tries): -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:348 ] Boost not in cache -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:351 ] _boost_TEST_VERSIONS = 1.39;1.39.0;1.40;1.40.0;1.40.0;1.40;1.39.0;1.39 -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:353 ] Boost_USE_MULTITHREADED = TRUE -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:355 ] Boost_USE_STATIC_LIBS = ON -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:413 ] Declared as CMake or Environmental Variables: -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:415 ] BOOST_ROOT = /cygdrive/c/build -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:417 ] BOOST_INCLUDEDIR = /cygdrive/c/build/include/boost-1_39/ -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:419 ] BOOST_LIBRARYDIR = -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:421 ] _boost_TEST_VERSIONS = 1.39;1.39.0;1.40;1.40.0;1.40.0;1.40;1.39.0;1.39 -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:470 ] Include debugging info: -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:472 ] _boost_INCLUDE_SEARCH_DIRS = /cygdrive/c/build/include/boost-1_39;/cygdrive/c/build/include;/cygdrive/c/build;C:/boost/include;C:/boost;/boost;/sw/local/include -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:474 ] _boost_PATH_SUFFIXES = boost-1_39;boost_1_39;boost-1_39_0;boost_1_39_0;boost-1_40;boost_1_40;boost-1_40_0;boost_1_40_0;boost-1_40_0;boost_1_40_0;boost-1_40;boost_1_40;boost-1_39_0;boost_1_39_0;boost-1_39;boost_1_39 -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:498 ] location of version.hpp: /cygdrive/c/build/include/boost-1_39/boost/version.hpp -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:517 ] version.hpp reveals boost 1.39.0 -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:603 ] guessed _boost_COMPILER = -gcc43 -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:613 ] _boost_MULTITHREADED = -mt -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:629 ] _boost_STATIC_TAG = -s -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:631 ] _boost_ABI_TAG = d -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:662 ] _boost_LIBRARIES_SEARCH_DIRS = /cygdrive/c/build/lib;/cygdrive/c/build/stage/lib;/cygdrive/c/build/include/boost-1_39/lib;C:/boost/lib;C:/boost;/boost/boost_1_39_0/lib;/boost/boost_1_39/lib;/boost;/sw/local/lib -- Looking for: libboost_python-gcc43-mt-1_39 -- Looking for: libboost_thread-gcc43-mt-1_39 -- Looking for: libboost_date_time-gcc43-mt-1_39 -- Looking for: libboost_filesystem-gcc43-mt-1_39 -- Looking for: libboost_system-gcc43-mt-1_39 -- Looking for: libboost_signals-gcc43-mt-1_39 -- Looking for: libboost_unit_test_framework-gcc43-mt-1_39 -- [ /cygdrive/c/toast/trunk/FindBoost.cmake:793 ] Boost_FOUND = FALSE CMake Error at FindBoost.cmake:873 (message): Unable to find the requested Boost libraries. Boost version: 1.39.0 Boost include path: /cygdrive/c/build/include/boost-1_39 The following Boost libraries could not be found: boost_python boost_thread boost_date_time boost_filesystem boost_system boost_signals boost_unit_test_framework 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): CMakeLists.txt:19 (find_package) CMake Error in /cygdrive/c/toast/trunk/CMakeFiles/CMakeTmp/CMakeLists.txt: Cannot find source file "threadflagtest.cpp". Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx CMake Error: Internal CMake error, TryCompile generation of cmake failed -- Using threading compiler flag: -pthreads -lrt -- Found PythonLibs: /lib/python2.5/config/libpython2.5.dll.a Files "/cygdrive/c/toast/trunk/gcctypeinfo.txt" to "yourtypeinfo.txt" are different. Files "/cygdrive/c/toast/trunk/msvctypeinfo.txt" to "yourtypeinfo.txt" are different. Files "/cygdrive/c/toast/trunk/suntypeinfo.txt" to "yourtypeinfo.txt" are different. 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_DATE_TIME_LIBRARY (ADVANCED) linked by target "toast_date_time" in directory /cygdrive/c/toast/trunk Boost_THREAD_LIBRARY (ADVANCED) linked by target "toast_async" in directory /cygdrive/c/toast/trunk -- Configuring incomplete, errors occurred! And here's an ls -l of /cygdrive/c/build/lib: -rwxr-xr-x 1 prophet mkgroup 47616 Aug 18 12:00 boost_date_time-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 55296 Aug 18 12:00 boost_filesystem-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 406528 Aug 18 12:00 boost_graph-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 41472 Aug 18 12:00 boost_iostreams-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 122368 Aug 18 12:00 boost_math_c99-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 122368 Aug 18 12:00 boost_math_c99f-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 281088 Aug 18 12:00 boost_math_tr1-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 282624 Aug 18 12:00 boost_math_tr1f-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 53760 Aug 18 12:00 boost_prg_exec_monitor-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 226304 Aug 18 12:00 boost_program_options-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 234496 Aug 18 12:00 boost_python-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 525824 Aug 18 12:00 boost_regex-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 429568 Aug 18 12:00 boost_serialization-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 70144 Aug 18 12:00 boost_signals-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 15872 Aug 18 12:00 boost_system-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 71168 Aug 18 12:00 boost_thread-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 311296 Aug 18 12:00 boost_unit_test_framework-gcc43-mt-1_39.dll -rwxr-xr-x 1 prophet mkgroup 1003008 Aug 18 12:00 boost_wave-gcc43-mt-1_39.dll -rw-r--r-- 1 prophet mkgroup 94084 Aug 18 12:00 libboost_date_time-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 34 Aug 18 12:00 libboost_date_time-gcc43-mt.a -> libboost_date_time-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 96098 Aug 18 12:00 libboost_filesystem-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 35 Aug 18 12:00 libboost_filesystem-gcc43-mt.a -> libboost_filesystem-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 1178040 Aug 18 12:00 libboost_graph-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 30 Aug 18 12:00 libboost_graph-gcc43-mt.a -> libboost_graph-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 63512 Aug 18 12:00 libboost_iostreams-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 34 Aug 18 12:00 libboost_iostreams-gcc43-mt.a -> libboost_iostreams-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 309232 Aug 18 12:00 libboost_math_c99-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 33 Aug 18 12:00 libboost_math_c99-gcc43-mt.a -> libboost_math_c99-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 309646 Aug 18 12:00 libboost_math_c99f-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 34 Aug 18 12:00 libboost_math_c99f-gcc43-mt.a -> libboost_math_c99f-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 2161538 Aug 18 12:00 libboost_math_tr1-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 33 Aug 18 12:00 libboost_math_tr1-gcc43-mt.a -> libboost_math_tr1-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 2161972 Aug 18 12:00 libboost_math_tr1f-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 34 Aug 18 12:00 libboost_math_tr1f-gcc43-mt.a -> libboost_math_tr1f-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 85278 Aug 18 12:00 libboost_prg_exec_monitor-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 41 Aug 18 12:00 libboost_prg_exec_monitor-gcc43-mt.a -> libboost_prg_exec_monitor-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 603378 Aug 18 12:00 libboost_program_options-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 40 Aug 18 12:00 libboost_program_options-gcc43-mt.a -> libboost_program_options-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 538278 Aug 18 12:00 libboost_python-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 31 Aug 18 12:00 libboost_python-gcc43-mt.a -> libboost_python-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 1373102 Aug 18 12:00 libboost_regex-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 30 Aug 18 12:00 libboost_regex-gcc43-mt.a -> libboost_regex-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 1136336 Aug 18 12:00 libboost_serialization-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 38 Aug 18 12:00 libboost_serialization-gcc43-mt.a -> libboost_serialization-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 144732 Aug 18 12:00 libboost_signals-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 32 Aug 18 12:00 libboost_signals-gcc43-mt.a -> libboost_signals-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 17184 Aug 18 12:00 libboost_system-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 31 Aug 18 12:00 libboost_system-gcc43-mt.a -> libboost_system-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 669010 Aug 18 12:00 libboost_test_exec_monitor-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 42 Aug 18 12:00 libboost_test_exec_monitor-gcc43-mt.a -> libboost_test_exec_monitor-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 145980 Aug 18 12:00 libboost_thread-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 31 Aug 18 12:00 libboost_thread-gcc43-mt.a -> libboost_thread-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 822798 Aug 18 12:00 libboost_unit_test_framework-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 44 Aug 18 12:00 libboost_unit_test_framework-gcc43-mt.a -> libboost_unit_test_framework-gcc43-mt-1_39.a -rw-r--r-- 1 prophet mkgroup 3275934 Aug 18 12:00 libboost_wave-gcc43-mt-1_39.a lrwxrwxrwx 1 prophet mkgroup 29 Aug 18 12:00 libboost_wave-gcc43-mt.a -> libboost_wave-gcc43-mt-1_39.a | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-09-09 10:51 | dataangel | New Issue | |||
2009-09-09 16:51 | dataangel | Note Added: 0017361 | |||
2009-09-11 17:06 | Bill Hoffman | Status | new => assigned | ||
2009-09-11 17:06 | Bill Hoffman | Assigned To | => Brad King | ||
2009-09-11 17:07 | Bill Hoffman | Note Added: 0017382 | |||
2009-09-14 11:30 | Brad King | Note Added: 0017423 | |||
2010-01-21 09:38 | Stefan Eckardt | Note Added: 0019239 | |||
2010-01-21 09:48 | Brad King | Assigned To | Brad King => Philip Lowman | ||
2010-05-09 04:48 | Alex Neundorf | Category | CMake => Modules | ||
2010-08-11 23:30 | Philip Lowman | Note Added: 0021722 | |||
2010-08-11 23:30 | Philip Lowman | Resolution | open => fixed | ||
2010-08-11 23:31 | Philip Lowman | Note Added: 0021723 | |||
2010-08-11 23:31 | Philip Lowman | Status | assigned => resolved | ||
2010-08-11 23:31 | Philip Lowman | Fixed in Version | => CMake-2-8 | ||
2010-09-01 00:16 | Philip Lowman | Note Added: 0022044 | |||
2010-09-01 00:16 | Philip Lowman | Status | resolved => assigned | ||
2010-09-01 00:17 | Philip Lowman | Fixed in Version | CMake-2-8 => CMake 2.8.3 | ||
2010-09-01 00:17 | Philip Lowman | Target Version | => CMake 2.8.3 | ||
2010-09-01 00:18 | Philip Lowman | Status | assigned => resolved | ||
2010-11-09 22:58 | Philip Lowman | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|