Boost logo

Boost Interest :

Subject: Re: [Boost-cmake] Linking Debug Builds
From: Michael Jackson (mike.jackson_at_[hidden])
Date: 2009-11-24 11:51:19


Is your project using CMake? I think in the FindBoost.cmake there is a
fall back to use the Release libraries. But it has been a while since
I investigated that.

Mike

On Nov 24, 2009, at 11:45 AM, James C. Sutherland wrote:

> I am on Mac and Linux.
>
> On Nov 24, 2009, at 8:21 AM, Michael Jackson wrote:
>
>> Are you on windows or a Unix variant? (Linux, OS X.. ). If you are
>> on windows then you _really_ do NOT want to link to a library built
>> with different crt libraries using Visual Studio. This is a recipe
>> for disaster. If you are on MinGW/MSYS/Cygwin then I have no Idea
>> what the "correct" solution is.
>>
>> _________________________________________________________
>> Mike Jackson mike.jackson_at_[hidden]
>> BlueQuartz Software www.bluequartz.net
>> Principal Software Engineer Dayton, Ohio
>>
>> On Nov 24, 2009, at 10:15 AM, James C. Sutherland wrote:
>>
>>> I initially installed only the "release" version of the boost
>>> libs. When I built a debug version of my application, the linker
>>> failed because apparently it triggered a search for the debug
>>> version of the boost libraries, which were not installed.
>>>
>>> Shouldn't there be a fall-back position to link to release libs in
>>> the case where debug versions were not built?
>>>
>>> James
>>> _______________________________________________
>>> Boost-cmake mailing list
>>> Boost-cmake_at_[hidden]
>>> http://lists.boost.org/mailman/listinfo.cgi/boost-cmake
>>
>> _______________________________________________
>> Boost-cmake mailing list
>> Boost-cmake_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-cmake
>
> _______________________________________________
> Boost-cmake mailing list
> Boost-cmake_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-cmake


Boost-cmake list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk