[CMake] problems with FindBoost

Gabriel Nützi gnuetzi at gmx.ch
Thu Mar 31 18:03:12 EDT 2011


Am 31.03.2011 um 23:44 schrieb Gabriel Nützi:

> May I ask how did you build your boost?
> with bjam?
> 
> I use : bjam --toolset=msvc-10.0 --build-type=complete architecture=x86 address-model=64 stage
> 
> 
> I have also problems with find Boost: (exact same setup as you)
> 
> I have the following boost directory structure which works:
> 
> /<path>/Boost/
> 	---> boost/ --> all includes from boost
> 	---> stage//lib --> all libraries from bost
> 
> If you now let cmake find boost, (BOOST_ROOT = "/<path>/Boost/")
> the it works...
> Strange....
> 
> Regards Gabriel
> 
> 
> 
> Am 31.03.2011 um 23:12 schrieb Dominik Szczerba:
> 
>> FindBoost (cmake 2.8.4 here) fails to find DLL - but not static -
>> version of boost 1.46.1 on Windows 7 with Visual Studio 10 64 bit. The
>> boost_thread library is needed.
>> The filepath's I add in cmake-gui are always reset to NOTFOUND if and
>> only if DLL version is needed. Static is no problem.
>> Any pointers how to debug this are very welcome
>> 
>> Regards,
>> Dominik
>> _______________________________________________
>> Powered by www.kitware.com
>> 
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>> 
>> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>> 
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110401/6b15c033/attachment.htm>


More information about the CMake mailing list