Boost logo

Boost Users :

Subject: Re: [Boost-users] I can't build boost!
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-05-14 14:47:35


Robert Dailey wrote:

> On Thu, May 14, 2009 at 8:15 AM, Robert Dailey <rcdailey_at_[hidden]> wrote:
>
>> Sorry for leaving the results out, I don't know what I was thinking. I was
>> in too much of a hurry I suppose. Note that I really don't want to drop the
>> layout=system, since if I do my LIB names get complex. I do not want the
>> boost version number or anything else in the name. Basically, I want the
>> names to look something like:
>> boost_signals-mt-gd.lib
>> boost_signals-mt.lib
>>
>> Now onto the results:
>>
>> warning: Graph library does not contain optional GraphML reader.
>> note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
>> note: directories containing the Expat headers and libraries, respectively.
>> warning: skipping optional Message Passing Interface (MPI) library.
>> note: to enable MPI support, add "using mpi ;" to user-config.jam.
>> note: to suppress this message, pass "--without-mpi" to bjam.
>> note: otherwise, you can safely ignore this message.
>> warning: Building Boost.Regex with the optional Unicode/ICU support
>> disabled.
>> note: Please refer to the Boost.Regex documentation for more information
>> note: this is a strictly optional feature.
>> D:/IT/personal/asl_editor/temp/boost_1_39_0/tools/build/v2/build\virtual-target.jam:1056:
>> in virtual-target.register-actual-name from module virtual-target
>> error: Duplicate name of actual target: <pstage\lib>libboost_date_time.lib
>> error: previous virtual target {
>> common%common.copy-libboost_date_time.lib.STATIC_LIB {
>> msvc%msvc.archive-libboost_date_time.lib.STATIC_LIB {
>> msvc%msvc.compile.c++-gregorian\greg_month.obj.OBJ {
>> gregorian/greg_month.cpp.CPP } } {
>> msvc%msvc.compile.c++-gregorian\greg_weekday.obj.OBJ {
>> gregorian/greg_weekday.cpp.CPP } } {
>> msvc%msvc.compile.c++-gregorian\date_generators.obj.OBJ {
>> gregorian/date_generators.cpp.CPP } } } }
>> error: created from ./stage-proper
>> error: another virtual target {
>> common%common.copy-libboost_date_time.lib.STATIC_LIB {
>> msvc%msvc.archive-libboost_date_time.lib.STATIC_LIB {
>> msvc%msvc.compile.c++-gregorian\greg_month.obj.OBJ {
>> gregorian/greg_month.cpp.CPP } } {
>> msvc%msvc.compile.c++-gregorian\greg_weekday.obj.OBJ {
>> gregorian/greg_weekday.cpp.CPP } } {
>> msvc%msvc.compile.c++-gregorian\date_generators.obj.OBJ {
>> gregorian/date_generators.cpp.CPP } } } }
>> error: created from ./stage-proper
>> error: added properties: <debug-symbols>off <define>NDEBUG <inlining>full
>> <optimization>speed <runtime-debugging>off <variant>release
>> error: removed properties: <debug-symbols>on <inlining>off
>> <optimization>off <runtime-debugging>on <variant>debug
>> D:/IT/personal/asl_editor/temp/boost_1_39_0/tools/build/v2/build\virtual-target.jam:480:
>> in actualize-no-scanner from module object(file-target)@3270
>> D:/IT/personal/asl_editor/temp/boost_1_39_0/tools/build/v2/build\virtual-target.jam:130:
>> in object(file-target)@3270.actualize from module object(file-target)@3270
>> D:/IT/personal/asl_editor/temp/boost_1_39_0/tools/build/v2\build-system.jam:713:
>> in load from module build-system
>> D:\IT\personal\asl_editor\temp\boost_1_39_0\tools\build\v2/kernel\modules.jam:283:
>> in import from module modules
>> D:\IT\personal\asl_editor\temp\boost_1_39_0\tools\build\v2/kernel/bootstrap.jam:138:
>> in boost-build from module
>> D:\IT\personal\asl_editor\temp\boost_1_39_0\boost-build.jam:16: in module
>> scope from module
>>
>
> Sorry to rush this, but I'm completely blocked until I can build boost with
> reasonable library names on Windows. Can anyone help me figure out what I
> need to do to get the library names generated without any mangling?

Sorry -- "without"? That is what system layout does now, which you have
objected in the first place. Can you maybe explain what properties, exactly,
you want to see present? And you get your unblocked -- see Jamroot, the
'tag' rule. Compare versioned and system layouts and adjust the system layout
to request necessary thing to appear in name -- it should be straightforward.

- Volodya

>
> Thanks in advance.


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