Boost logo

Boost Users :

Subject: [Boost-users] boost-1.45.0 / MSVC 9.0: bjam --layout=system fails
From: Roman Neuhauser (neuhauser_at_[hidden])
Date: 2010-12-02 11:20:18


hello,

i'm trying to build 1.45.0 on Windows 7 with MSVC 9.0. I'm using the
Windows SDK shell.

"bootstrap; bjam" passes.

"bootstrap; bjam --layout=system" fails:

c:/MinGW/msys/1.0/home/roman/wc/boost_1_45_0/tools/build/v2/build\virtual-target.jam:1066: 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
c:/MinGW/msys/1.0/home/roman/wc/boost_1_45_0/tools/build/v2/build\virtual-target.jam:490: in actualize-no-scanner from module object(file-target)@3863
c:/MinGW/msys/1.0/home/roman/wc/boost_1_45_0/tools/build/v2/build\virtual-target.jam:135: in object(file-target)@3863.actualize from module object(file-target)@3863
c:/MinGW/msys/1.0/home/roman/wc/boost_1_45_0/tools/build/v2\build-system.jam:748: in load from module build-system
c:\MinGW\msys\1.0\home\roman\wc\boost_1_45_0\tools\build\v2/kernel\modules.jam:283: in import from module modules
c:\MinGW\msys\1.0\home\roman\wc\boost_1_45_0\tools\build\v2\kernel\bootstrap.jam:142: in boost-build from module
c:\MinGW\msys\1.0\home\roman\wc\boost_1_45_0\boost-build.jam:17: in module scopefrom module

i need the system layout build. how can i get around the error?

-- 
roman

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