|
Boost-Build : |
From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2006-06-22 03:10:00
Reece Dunn schrieb:
> Can you post the error for the date_time library. Also, what version of Boost
> are you using as I don't get the problem with it using the current CVS (I only
> encountered the Boost.Wave issue).
I am using CVS HEAD.
Why does this fail only on windows?
BTW.: his fails also if I use the stage target and same error is when
I leave out both install and stage.
Roland_at_SPEEDSNAIL:H:\Projects\boost\HEAD$ bjam --v2 msvc-7.1 install
variant=debug,release threading=multi,single link=shared,static
warning: Python location is not configured
warning: the Boost.Python library won't be built
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(and if you don't know what ICU is then you probably don't need it).
H:/Projects/boost/HEAD/tools/build/v2/build\virtual-target.jam:976: in
virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target:
<pC:\install\lib>boost_date_time-vc71-mt-gd-1_35.lib
error: previous virtual target {
common%common.copy-boost_date_time-vc71-mt-gd-1_35.lib.IMPORT_LIB {
msvc%msvc.link.dll-boost_date_time-vc71-mt-gd-1_35.lib.IM
PORT_LIB { msvc%msvc.compile.c++-greg_month.obj.OBJ {
gregorian/greg_month.cpp.CPP } } {
msvc%msvc.compile.c++-greg_weekday.obj.OBJ { gregorian/greg_weekday.c
pp.CPP } } { msvc%msvc.compile.c++-date_generators.obj.OBJ {
gregorian/date_generators.cpp.CPP } } } }
error: created from ./install-lib
error: another virtual target {
common%common.copy-boost_date_time-vc71-mt-gd-1_35.lib.STATIC_LIB {
msvc%msvc.archive-boost_date_time-vc71-mt-gd-1_35.lib.STAT
IC_LIB { msvc%msvc.compile.c++-greg_month.obj.OBJ {
gregorian/greg_month.cpp.CPP } } {
msvc%msvc.compile.c++-greg_weekday.obj.OBJ { gregorian/greg_weekday.cpp
.CPP } } { msvc%msvc.compile.c++-date_generators.obj.OBJ {
gregorian/date_generators.cpp.CPP } } } }
error: created from ./install-lib
error: added properties: <define>BOOST_DATE_TIME_STATIC_LINK <link>static
error: removed properties: <define>BOOST_ALL_DYN_LINK=1 <link>shared
H:/Projects/boost/HEAD/tools/build/v2/build\virtual-target.jam:450: in
actualize-no-scanner from module object(file-target)@12331
H:/Projects/boost/HEAD/tools/build/v2/build\virtual-target.jam:110: in
object(file-target)@12331.actualize from module object(file-target)@12331
H:/Projects/boost/HEAD/tools/build/v2\build-system.jam:371: in load from
module build-system
H:\Projects\boost\HEAD\tools\build\v2/kernel\modules.jam:261: in import
from module modules
H:\Projects\boost\HEAD\tools\build\v2/kernel/bootstrap.jam:132: in
boost-build from module
H:\Projects\boost\HEAD\boost-build.jam:12: in module scope from module
> If you want to try to fix it yourself, you can:
I am short of time at the moment. I'll try your suggestions later.
regards,
Roland
Boost-Build 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