<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Ok but what if the generator used is MinGW</DIV>
<DIV><BR><BR>--- En date de&nbsp;: <B>Jeu 11.12.08, Mike Jackson <I>&lt;mike.jackson@bluequartz.net&gt;</I></B> a écrit&nbsp;:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">De: Mike Jackson &lt;mike.jackson@bluequartz.net&gt;<BR>Objet: Re: [CMake] Fw : Linking boost failure<BR>À: "Cmake Mailing List" &lt;cmake@cmake.org&gt;<BR>Date: Jeudi 11 Décembre 2008, 16h09<BR><BR><PRE>I just pulled down the BoostPro installer and installed the headers and a few
libraries. I installed to C:\Developer\VS9\boost\boost_1_36_0.

I then set the environment variable BOOST_ROOT to
C:\Developer\VS9\boost\boost_1_36_0

I ran CMake 2.6.2 from a Visual Studio command prompt and was able to find the
libraries.

If you can add the following to your
$CMAKE_INSTALL/share/cmake-2.6/modules/FindBoost.cmake at line 438:

    message(STATUS "Boost_LIB_VERSION: ${Boost_LIB_VERSION}")
    message(STATUS
"${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}-${Boost_LIB_VERSION}")
    message(STATUS
"${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_STATIC_TAG}-${Boost_LIB_VERSION}")
    message(STATUS
"${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}")
    message(STATUS
"${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_STATIC_TAG}")
    message(STATUS "${Boost_LIB_PREFIX}boost_${COMPONENT}")

(there are 5 separate lines there. You may have to unwrap them from the email)

Then run cmake again on a clean build directory and post the output.

I get the following:

-- Boost_LIB_VERSION: 1_36
-- boost_program_options-vc90-mt-1_36
-- boost_program_options-vc90-mt-1_36
-- boost_program_options-mt
-- boost_program_options-mt
-- boost_program_options

If your Boost_LIB_VERSION is empty then that is the first problem.

Mike

kafou nmento wrote:
&gt; Here is one libboost_filesystem-vc71-mt-gd-1_34_1.lib
&gt; 
&gt; 
&gt; --- En date de : Jeu 11.12.08, Michael Jackson
&lt;mike.jackson@bluequartz.net&gt; a écrit :
&gt; 
&gt; De: Michael Jackson &lt;mike.jackson@bluequartz.net&gt;
&gt; Objet: Re: [CMake] Fw : Linking boost failure
&gt; À: "Cmake Mailing List" &lt;cmake@cmake.org&gt;
&gt; Date: Jeudi 11 Décembre 2008, 15h00
&gt; 
&gt; Pick a library from the boost pro distribution and please send the entire
name
&gt; of the file. I have a few suspicions.
&gt; 
&gt; 
&gt; ---
&gt; Mike Jackson                 www.bluequartz.net
&gt; 
&gt; 
&gt; 
&gt; On Dec 11, 2008, at 8:36 AM, Philip Lowman wrote:
&gt; 
&gt;&gt; On Thu, Dec 11, 2008 at 7:35 AM, kafou nmento
&lt;ngondorolf@yahoo.fr&gt;
&gt; wrote:
&gt;&gt; I'm still getting the same errors although I downloaded boost from
&gt; BoostPro. The libraries are not found even if I set the BOOST_LIBRARYDIR
to the
&gt; path of boost libraries.
&gt;&gt; I can confirm this bug, I think.  When using the BoostPro installer
(even
&gt; with CMake 2.6.3 RC5) the FindBoost.cmake file will discover
BOOST_INCLUDEDIR
&gt; but will not find any libraries.
&gt;&gt; --Philip Lowman
&gt;&gt; _______________________________________________
&gt;&gt; CMake mailing list
&gt;&gt; CMake@cmake.org
&gt;&gt; http://www.cmake.org/mailman/listinfo/cmake
&gt; 
&gt; _______________________________________________
&gt; CMake mailing list
&gt; CMake@cmake.org
&gt; http://www.cmake.org/mailman/listinfo/cmake
&gt; 
&gt; 
&gt; 
&gt;       
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake</PRE></BLOCKQUOTE></td></tr></table><br>