Boost logo

Boost Users :

Subject: Re: [Boost-users] [bjam] Building Regex with static runtime linking
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-06-10 02:29:00


Max wrote:

>>
>> Please run the problematic command with the --debug-building option and
>> provide
>> the output. Also, be sure to specify the exact version of Boost and
> Boost.Build
>>
>> - Volodya
>
> Hello Volodya,
>
> Thanks for your reply.
>
> The problem seems to be related to ICU (installation).
>
> with out
> set ICU_PATH="E:\lib\icu"
> set HAVE_ICU=1
> in my batch file, I get the regex static lib's.
>
> but with it, the problem comes.
>
...
> Building target 'libs/regex/build/icucore'
> Build request: object(property-set)@431
> <asynch-exceptions>off <debug-store>object <debug-symbols>off <define>NDEBUG
> <embed-manifest>on <exception-handling>on <extern-c-nothrow>off
> <inlining>full <link>static <midl-robust>yes <midl-stubless-proxy>yes
> <optimization>speed <os>NT <pch>on <preserve-test-targets>on <profiling>off
> <python-debugging>off <python>2.5 <rtti>on <runtime-debugging>off
> <runtime-link>static <stdlib>native <target-os>windows <threadapi>win32
> <threading>multi <toolset-msvc:version>9.0 <toolset>msvc <variant>release
> <warnings-as-errors>off <warnings>on
> Command line free features:
> Target requirements:
> <conditional>@Jamfile</E:/Lib/boost_1_39_0>%Jamfile</E:/Lib/boost_1_39_0>.ha
> ndle-static-runtime <define>BOOST_ALL_NO_LIB=1 <include>. <link>shared
> <name>icuuc <python>2.5,<target-os>windows:<python.interpreter>python
> <search>/E:/lib/icu/lib
> <tag>@Jamfile</E:/Lib/boost_1_39_0>%Jamfile</E:/Lib/boost_1_39_0>.tag
> <toolset>msvc,<runtime-link>shared:<threading>multi
> <toolset>sun:<stdlib>sun-stlport
> error: link=shared together with runtime-link=static is not allowed
> error: such property combination is either impossible
> error: or too dangerious to be of any use
> #######################################################################

Thanks.

John, why is icucore target (and other icu targets), have <link>shared in
requirements? There's a number of ways to fix the direct issue above,
but I need to know what was the original intention.

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net