[CMake] problems with FindBoost

Dominik Szczerba dominik at itis.ethz.ch
Fri Apr 1 06:57:30 EDT 2011


Dear Mike,

Many thanks for your hint to enable debugging in FindBoost. Doing so I
immediately located the culprit, and it seems it is not FindBoost that
is to blame. The package using FindBoost was silently setting
Boost_USE_STATIC_LIBS to ON behind my back, thus the DLL version was -
properly - not found.

Many thanks!
Dominik

On Thu, Mar 31, 2011 at 11:57 PM, Michael Jackson
<mike.jackson at bluequartz.net> wrote:
> The 2 items that you will need to know (and us to help you) are:
>
> The list of libraries that you have installed. We need to know the complete filename.
>
> Then you need to probably dive into FindBoost.cmake and enable the debugging output and see what filenames CMake is trying to find. My bet is there is a mismatch or FindBoost doesn't know about VS 10? Just guesses.
> ___________________________________________________________
> Mike Jackson                      www.bluequartz.net
> Principal Software Engineer       mike.jackson at bluequartz.net
> BlueQuartz Software               Dayton, Ohio
>
> On Mar 31, 2011, at 5:12 PM, Dominik Szczerba wrote:
>
>> 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
>
>


More information about the CMake mailing list