<div class="gmail_quote">On Mon, Jan 19, 2009 at 9:54 PM, Rodolfo Lima <span dir="ltr"><<a href="mailto:rodolfo@rodsoft.org">rodolfo@rodsoft.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Philip Lowman escreveu:<br>
<div class="Ih2E3d">> I'm guessing this may have been caused by a bug in compiler tag<br>
> autodetection. Can you please try this latest CVS FindBoost.cmake with<br>
> CMake 2.6.2 or greater and see if the problem still exists?<br>
><br>
> If it doesn't work please clear cache, SET(Boost_DEBUG TRUE) and post<br>
> the output.<br>
<br>
</div>It didn't work. Here is the debug output:<br>
<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:322 ] Boost not in cache<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:325 ]<br>
_boost_TEST_VERSIONS = 1.37;1.38.0;1.38;1.37.0;1.37<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:327 ]<br>
Boost_USE_MULTITHREADED = TRUE<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:329 ]<br>
Boost_USE_STATIC_LIBS =<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:387 ] Declared as<br>
CMake or Environmental Variables:<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:389 ] BOOST_ROOT =<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:391 ]<br>
BOOST_INCLUDEDIR =<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:393 ]<br>
BOOST_LIBRARYDIR =<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:395 ]<br>
_boost_TEST_VERSIONS = 1.37;1.38.0;1.38;1.37.0;1.37<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:444 ] Include<br>
debugging info:<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:446 ]<br>
_boost_INCLUDE_SEARCH_DIRS =<br>
C:/boost/include;C:/boost;/boost;/sw/local/include<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:448 ]<br>
_boost_PATH_SUFFIXES =<br>
boost-1_37;boost-1_38_0;boost-1_38;boost-1_37_0;boost-1_37<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:472 ] location of<br>
version.hpp: /usr/include/boost-1_37/boost/version.hpp<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:491 ] version.hpp<br>
reveals boost 1.37.0<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:577 ] guessed<br>
_boost_COMPILER = -gcc43<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:587 ]<br>
_boost_MULTITHREADED = -mt<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:603 ]<br>
_boost_STATIC_TAG =<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:605 ] _boost_ABI_TAG = d<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:634 ]<br>
_boost_LIBRARIES_SEARCH_DIRS =<br>
C:/boost/lib;C:/boost;/boost/boost_1_37_0/lib;/boost;/sw/local/lib<br>
-- [ /home/rodolfo/src/ameco/cmake/FindBoost.cmake:759 ] Boost_FOUND = FALSE<br>
CMake Error at cmake/FindBoost.cmake:839 (message):<br>
Unable to find the requested Boost libraries.<br>
<br>
Boost version: 1.37.0<br>
<br>
Boost include path: /usr/include/boost-1_37<br>
<br>
The following Boost libraries could not be found:<br>
<br>
boost_regex<br>
boost_date_time<br>
boost_serialization<br>
<br>
No Boost libraries were found. You may need to set Boost_LIBRARYDIR<br>
to the<br>
directory containing Boost libraries or BOOST_ROOT to the location of<br>
Boost.<br>
Call Stack (most recent call first):<br>
CMakeLists.txt:24 (find_package)<br>
<br>
-------------------------------------------<br>
<br>
FYI, the installed libraries are: (using boost_thread as an example)<br>
<br>
/usr/lib/libboost_thread-1_37.a<br>
/usr/lib/libboost_thread-1_37.so<br>
/usr/lib/libboost_thread-mt-1_37.a<br>
/usr/lib/libboost_thread-mt-1_37.so<br>
/usr/lib/libboost_thread-mt-1_37.so.1.37.0<br>
/usr/lib/libboost_thread-mt-s-1_37.a<br>
/usr/lib/libboost_thread-s-1_37.a<br>
<br>
The headers are in /usr/include/boost-1_37<br>
<br>
Adding the patterns I've written in my previous email solves this issue.</blockquote><div><br>Thanks, I think it's fixed. Could you give it a try now?<br><br>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.<br>
<a href="http://public.kitware.com/Bug/view.php?id=8404">http://public.kitware.com/Bug/view.php?id=8404</a><br><br>lowman@locke:~/cvs/CMake_write/Modules$ cvs commit FindBoost.cmake<br>Committer: Philip Lowman <<a href="mailto:philip@yhbt.com">philip@yhbt.com</a>><br>
/cvsroot/CMake/CMake/Modules/FindBoost.cmake,v <-- FindBoost.cmake<br>new revision: 1.31; previous revision: 1.30<br><br></div></div><br>-- <br>Philip Lowman<br>