Boost logo

Boost Interest :

Subject: Re: [Boost-cmake] Creating "Known Issues": CMake Problems with boost 1.39
From: Tan, Tom (Shanghai) (TTan_at_[hidden])
Date: 2009-05-13 22:27:23


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


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