On Mon, Jan 19, 2009 at 9:54 PM, Rodolfo Lima <rodo...@rodsoft.org> wrote:
> Philip Lowman escreveu: > > I'm guessing this may have been caused by a bug in compiler tag > > autodetection. Can you please try this latest CVS FindBoost.cmake with > > CMake 2.6.2 or greater and see if the problem still exists? > > > > If it doesn't work please clear cache, SET(Boost_DEBUG TRUE) and post > > the output. > > It didn't work. Here is the debug output: > > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:322 ] Boost not in cache > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:325 ] > _boost_TEST_VERSIONS = 1.37;1.38.0;1.38;1.37.0;1.37 > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:327 ] > Boost_USE_MULTITHREADED = TRUE > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:329 ] > Boost_USE_STATIC_LIBS = > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:387 ] Declared as > CMake or Environmental Variables: > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:389 ] BOOST_ROOT = > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:391 ] > BOOST_INCLUDEDIR = > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:393 ] > BOOST_LIBRARYDIR = > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:395 ] > _boost_TEST_VERSIONS = 1.37;1.38.0;1.38;1.37.0;1.37 > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:444 ] Include > debugging info: > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:446 ] > _boost_INCLUDE_SEARCH_DIRS = > C:/boost/include;C:/boost;/boost;/sw/local/include > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:448 ] > _boost_PATH_SUFFIXES = > boost-1_37;boost-1_38_0;boost-1_38;boost-1_37_0;boost-1_37 > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:472 ] location of > version.hpp: /usr/include/boost-1_37/boost/version.hpp > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:491 ] version.hpp > reveals boost 1.37.0 > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:577 ] guessed > _boost_COMPILER = -gcc43 > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:587 ] > _boost_MULTITHREADED = -mt > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:603 ] > _boost_STATIC_TAG = > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:605 ] _boost_ABI_TAG = d > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:634 ] > _boost_LIBRARIES_SEARCH_DIRS = > C:/boost/lib;C:/boost;/boost/boost_1_37_0/lib;/boost;/sw/local/lib > -- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:759 ] Boost_FOUND = > FALSE > CMake Error at cmake/FindBoost.cmake:839 (message): > Unable to find the requested Boost libraries. > > Boost version: 1.37.0 > > Boost include path: /usr/include/boost-1_37 > > The following Boost libraries could not be found: > > boost_regex > boost_date_time > boost_serialization > > 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:24 (find_package) > > ------------------------------------------- > > FYI, the installed libraries are: (using boost_thread as an example) > > /usr/lib/libboost_thread-1_37.a > /usr/lib/libboost_thread-1_37.so > /usr/lib/libboost_thread-mt-1_37.a > /usr/lib/libboost_thread-mt-1_37.so > /usr/lib/libboost_thread-mt-1_37.so.1.37.0 > /usr/lib/libboost_thread-mt-s-1_37.a > /usr/lib/libboost_thread-s-1_37.a > > The headers are in /usr/include/boost-1_37 > > Adding the patterns I've written in my previous email solves this issue. Thanks, I think it's fixed. Could you give it a try now? Also, to answer your earlier question, if you're sure it's a bug, yes it's best to report it on the bugtracker. Here's a bug for this issue I just made. http://public.kitware.com/Bug/view.php?id=8404 low...@locke:~/cvs/CMake_write/Modules$ cvs commit FindBoost.cmake Committer: Philip Lowman <phi...@yhbt.com> /cvsroot/CMake/CMake/Modules/FindBoost.cmake,v <-- FindBoost.cmake new revision: 1.31; previous revision: 1.30 -- Philip Lowman
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake