Boost logo

Boost Interest :

Subject: Re: [Boost-cmake] Linking Debug Builds
From: James C. Sutherland (James.Sutherland_at_[hidden])
Date: 2009-11-24 13:29:18


I am using CMake in my project, but am using the CMake build of boost so that I am NOT using FindBoost.cmake.

I think that you are right regarding the behavior of FindBoost.cmake. But my issue is with the BoostConfig.cmake that is installed with the CMake boost build system.

James

On Nov 24, 2009, at 9:51 AM, Michael Jackson wrote:

> 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 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