|
Boost Interest : |
Subject: Re: [Boost-cmake] Creating "Known Issues": CMake Problems with boost 1.39
From: Doug Gregor (doug.gregor_at_[hidden])
Date: 2009-05-14 00:59:22
On Wed, May 13, 2009 at 7:27 PM, Tan, Tom (Shanghai) <TTan_at_[hidden]> wrote:
>>> I used CMake to build boost 1.39 and found at least two problems:
>>> - In the cmakelist.txt file the BOOST_VERSION_MINOR is 38, instead
> of 39
>>>
>>A known problem. You can tweak this in the toplevel CMakeLists.txt.
> Look for BOOST_VERSION_MINOR.
>
> That's what I did when I first saw it, seems it works.
>
>>I've added a "Known Issues" section to the docs... could you help me be
>> sure that the information is complete?
>>
>> http://www.resophonic.com/boost_cmake/#known-issues
>>
>
> This the complete info I observed:
> For all the versions of boost.test static lib(starting with
> 'libboost_'), it appends an additional '-s' to the file name, even if
> there's alread one in the middle. It does not happen to shared libs
> and the corresponding symbol imports(dlls or lib files starting with
> 'boost_').
>
> Below are the wrong file names generated on my PC(WinXP SP3, VC9 SP1) :
>
> libboost_prg_exec_monitor-vc90-mt-1_39-s.lib
> libboost_prg_exec_monitor-vc90-mt-gd-1_39-s.lib
> libboost_prg_exec_monitor-vc90-mt-s-1_39-s.lib
> libboost_prg_exec_monitor-vc90-mt-sgd-1_39-s.lib
> libboost_unit_test_framework-vc90-mt-1_39-s.lib
> libboost_unit_test_framework-vc90-mt-gd-1_39-s.lib
> libboost_unit_test_framework-vc90-mt-s-1_39-s.lib
> libboost_unit_test_framework-vc90-mt-sgd-1_39-s.lib
>
> Removing the trailing '-s' would work fine.
This is a workaround for a problem that caused a lot of trouble back
when I wrote a lot of the CMake stuff. I've eliminated the workaround,
and we'll see what happens.
- Doug