|
Boost : |
Subject: [boost] [locale] trouble building
From: Noah Roberts (roberts.noah_at_[hidden])
Date: 2011-04-14 16:48:35
I grabbed the ICU bin for VS2010. I extracted the content into d:\icu
so that d:\icu\include has the various includes.
I set up the PATH variable to include d:\icu\bin...
I copied boost and lib from the review into boost_1_46_1 where the root
of boost source is.
The docs seem to imply that I can get a build without ICU if I'm using
Windows but this doesn't seem to be the case. I tried --without-icu and
I got an error about using --with and --without for the same lib.
Here's my attempt to build (with ICU installed):
D:\boost_1_46_1\boost_1_46_1>bjam --build-dir=.\build toolset=msvc-10
--with-loc
ale --prefix=d:\boost_msvc_1461 --layout=system -sICU_PATH=d:\icu stage
Performing configuration checks
- iconv (libc) : no
- iconv (separate) : no
- icu : no
D:/boost_1_46_1/boost_1_46_1/tools/build/v2/build\virtual-target.jam:1079:
in vi
rtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <pstage\lib>libboost_locale.lib
error: previous virtual target {
common%common.copy-libboost_locale.lib.STATIC_L
IB { msvc%msvc.archive-libboost_locale.lib.STATIC_LIB {
msvc%msvc.compile.c++-en
coding\codepage.obj.OBJ { encoding/codepage.cpp.CPP } } {
msvc%msvc.compile.c++-
shared\date_time.obj.OBJ { shared/date_time.cpp.CPP } } {
msvc%msvc.compile.c++-
shared\format.obj.OBJ { shared/format.cpp.CPP } } {
msvc%msvc.compile.c++-shared
\formatting.obj.OBJ { shared/formatting.cpp.CPP } } {
msvc%msvc.compile.c++-shar
ed\generator.obj.OBJ { shared/generator.cpp.CPP } } {
msvc%msvc.compile.c++-shar
ed\ids.obj.OBJ { shared/ids.cpp.CPP } } {
msvc%msvc.compile.c++-shared\localizat
ion_backend.obj.OBJ { shared/localization_backend.cpp.CPP } } {
msvc%msvc.compil
e.c++-shared\message.obj.OBJ { shared/message.cpp.CPP } } {
msvc%msvc.compile.c+
+-shared\mo_lambda.obj.OBJ { shared/mo_lambda.cpp.CPP } } {
msvc%msvc.compile.c+
+-util\codecvt_converter.obj.OBJ { util/codecvt_converter.cpp.CPP } } {
msvc%msv
c.compile.c++-util\default_locale.obj.OBJ { util/default_locale.cpp.CPP
} } { ms
vc%msvc.compile.c++-util\info.obj.OBJ { util/info.cpp.CPP } } {
msvc%msvc.compil
e.c++-util\locale_data.obj.OBJ { util/locale_data.cpp.CPP } } {
msvc%msvc.compil
e.c++-std\codecvt.obj.OBJ { std/codecvt.cpp.CPP } } {
msvc%msvc.compile.c++-std\
collate.obj.OBJ { std/collate.cpp.CPP } } {
msvc%msvc.compile.c++-std\converter.
obj.OBJ { std/converter.cpp.CPP } } {
msvc%msvc.compile.c++-std\numeric.obj.OBJ
{ std/numeric.cpp.CPP } } {
msvc%msvc.compile.c++-std\std_backend.obj.OBJ { std/
std_backend.cpp.CPP } } { msvc%msvc.compile.c++-util\gregorian.obj.OBJ {
util/gr
egorian.cpp.CPP } } { msvc%msvc.compile.c++-win32\collate.obj.OBJ {
win32/collat
e.cpp.CPP } } { msvc%msvc.compile.c++-win32\converter.obj.OBJ {
win32/converter.
cpp.CPP } } { msvc%msvc.compile.c++-win32\lcid.obj.OBJ {
win32/lcid.cpp.CPP } }
{ msvc%msvc.compile.c++-win32\numeric.obj.OBJ { win32/numeric.cpp.CPP }
} { msvc
%msvc.compile.c++-win32\win_backend.obj.OBJ { win32/win_backend.cpp.CPP
} } } }
error: created from ./stage-proper
error: another virtual target {
common%common.copy-libboost_locale.lib.STATIC_LI
B { msvc%msvc.archive-libboost_locale.lib.STATIC_LIB {
msvc%msvc.compile.c++-enc
oding\codepage.obj.OBJ { encoding/codepage.cpp.CPP } } {
msvc%msvc.compile.c++-s
hared\date_time.obj.OBJ { shared/date_time.cpp.CPP } } {
msvc%msvc.compile.c++-s
hared\format.obj.OBJ { shared/format.cpp.CPP } } {
msvc%msvc.compile.c++-shared\
formatting.obj.OBJ { shared/formatting.cpp.CPP } } {
msvc%msvc.compile.c++-share
d\generator.obj.OBJ { shared/generator.cpp.CPP } } {
msvc%msvc.compile.c++-share
d\ids.obj.OBJ { shared/ids.cpp.CPP } } {
msvc%msvc.compile.c++-shared\localizati
on_backend.obj.OBJ { shared/localization_backend.cpp.CPP } } {
msvc%msvc.compile
.c++-shared\message.obj.OBJ { shared/message.cpp.CPP } } {
msvc%msvc.compile.c++
-shared\mo_lambda.obj.OBJ { shared/mo_lambda.cpp.CPP } } {
msvc%msvc.compile.c++
-util\codecvt_converter.obj.OBJ { util/codecvt_converter.cpp.CPP } } {
msvc%msvc
.compile.c++-util\default_locale.obj.OBJ { util/default_locale.cpp.CPP }
} { msv
c%msvc.compile.c++-util\info.obj.OBJ { util/info.cpp.CPP } } {
msvc%msvc.compile
.c++-util\locale_data.obj.OBJ { util/locale_data.cpp.CPP } } {
msvc%msvc.compile
.c++-std\codecvt.obj.OBJ { std/codecvt.cpp.CPP } } {
msvc%msvc.compile.c++-std\c
ollate.obj.OBJ { std/collate.cpp.CPP } } {
msvc%msvc.compile.c++-std\converter.o
bj.OBJ { std/converter.cpp.CPP } } {
msvc%msvc.compile.c++-std\numeric.obj.OBJ {
std/numeric.cpp.CPP } } {
msvc%msvc.compile.c++-std\std_backend.obj.OBJ { std/s
td_backend.cpp.CPP } } { msvc%msvc.compile.c++-util\gregorian.obj.OBJ {
util/gre
gorian.cpp.CPP } } { msvc%msvc.compile.c++-win32\collate.obj.OBJ {
win32/collate
.cpp.CPP } } { msvc%msvc.compile.c++-win32\converter.obj.OBJ {
win32/converter.c
pp.CPP } } { msvc%msvc.compile.c++-win32\lcid.obj.OBJ {
win32/lcid.cpp.CPP } } {
msvc%msvc.compile.c++-win32\numeric.obj.OBJ { win32/numeric.cpp.CPP }
} { msvc%
msvc.compile.c++-win32\win_backend.obj.OBJ { win32/win_backend.cpp.CPP }
} } }
error: created from ./stage-proper
error: added properties: <debug-symbols>on <inlining>off
<optimization>off <runt
ime-debugging>on <variant>debug
error: removed properties: <debug-symbols>off <define>NDEBUG
<inlining>full <opt
imization>speed <runtime-debugging>off <variant>release
D:/boost_1_46_1/boost_1_46_1/tools/build/v2/build\virtual-target.jam:490: in
act
ualize-no-scanner from module object(file-target)@962
D:/boost_1_46_1/boost_1_46_1/tools/build/v2/build\virtual-target.jam:135: in
obj
ect(file-target)@962.actualize from module object(file-target)@962
D:/boost_1_46_1/boost_1_46_1/tools/build/v2\build-system.jam:748: in
load from m
odule build-system
D:\boost_1_46_1\boost_1_46_1\tools\build\v2/kernel\modules.jam:283: in
import fr
om module modules
D:\boost_1_46_1\boost_1_46_1\tools\build\v2\kernel\bootstrap.jam:142: in
boost-b
uild from module
D:\boost_1_46_1\boost_1_46_1\boost-build.jam:17: in module scope from module
D:\boost_1_46_1\boost_1_46_1>
Any ideas?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk