On 26 Jan., 14:00, Kornel Benko <[email protected]> wrote: > Than you have old CMakeCache.txt. I have no problems on ubuntu 11.10
are you also using boost 1_48_0? > This should be done in CMakeLists.txt:271 > FIND_PACKAGE(Boost 1.40 COMPONENTS thread date_time regex filesystem > iostreams system signals) my CMakeLists.txt reads the same: FIND_PACKAGE(Boost 1.40 COMPONENTS thread date_time regex filesystem iostreams system signals) I created a new build directory and ran cmake there, it found my boost: -- Boost version: 1.48.0 -- Found the following Boost libraries: -- thread -- date_time -- regex -- filesystem -- iostreams -- system -- signals on running make, I get the same error, in a different place now: Linking CXX executable celeste_standalone ../hugin_base/libhuginbase.so.0.0: undefined reference to `boost::system::system_category()' ../hugin_base/libhuginbase.so.0.0: undefined reference to `boost::system::generic_category()' collect2: ld returned 1 exit status make[2]: *** [src/celeste/celeste_standalone] Fehler 1 make[1]: *** [src/celeste/CMakeFiles/celeste_standalone.dir/all] Fehler 2 make: *** [all] Fehler 2 when I look into the CMakeCache.txt in this directory, I find that the boost references point to paths in /usr/lib, where the 1.42 installation lives, instead of /usr/local/lib, where all the 1.48 code is installed. The libraries it refers to all end in -mt.so, whereas my 1.48 installation has none of these. CMakeCache.txt reads like ... //The Boost IOSTREAMS library Boost_IOSTREAMS_LIBRARY:FILEPATH=optimized;/usr/lib/libboost_iostreams- mt.so;debug;/usr/lib/libboost_iostreams-mt.so ... I did not uninstall all the 1.42 boost stuff because I thought the system might not work anymore if it didn't have the 1.42 libraries, so maybe I confused it and it's now hung between the old and new installation. Kay -- You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx
