Boost logo

Boost-Build :

Subject: [Boost-build] Problem building boost1.45 and 1.46 on Window SEVEN with MinGW
From: Claudio La Rosa (clros_at_[hidden])
Date: 2011-02-25 12:11:52


Hi,
I can not in any way to compile BOOST 1.45 and 1.46 on Windows
with MinGW.
But the same problem I had with MSVC and 1.45

I Use the
Bjam command line like this:
bjam --toolset=gcc --layout=system --with-
thread stage

or

bjam --toolset=gcc --buidl-type=complete link=static,
shared threading=single,multi optimization=space

I have alway errors:

C:/Users/Claudio/Desktop/boost_1_46_0/tools/build/v2/build\virtual-
target.jam:1079: in virtual-target.register-actual-name from module
virtual-target
error: Duplicate name of actual target:
<pstage\lib>libboost_thread.a
error: previous virtual target { common%
common.copy-libboost_thread.a.STATIC_LIB { gcc%gcc.archive-
libboost_thread.a.STATIC_LIB { gcc%gcc.compile.c++-win32\thread.o.OBJ {
win32/thread.cpp.CPP } } { gcc%gcc.compile.c++-win32\tss_dll.o.OBJ {
win32/tss_dll.cpp.CPP } } { gcc%gcc.compile.c++-win32\tss_pe.o.OBJ {
win32/tss_pe.cpp.CPP } } } }
error: created from ./stage-proper
error:
another virtual target { common%common.copy-libboost_thread.a.
STATIC_LIB { gcc%gcc.archive-libboost_thread.a.STATIC_LIB { gcc%gcc.
compile.c++-win32\thread.o.OBJ { win32/thread.cpp.CPP } } { gcc%gcc.
compile.c++-win32\tss_dll.o.OBJ { win32/tss_dll.cpp.CPP } } { gcc%gcc.
compile.c++-win32\tss_pe.o.OBJ { win32/tss_pe.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:
/Users/Claudio/Desktop/boost_1_46_0/tools/build/v2/build\virtual-target.
jam:490: in actualize-no-scanner from module object(file-target)@714
C:
/Users/Claudio/Desktop/boost_1_46_0/tools/build/v2/build\virtual-target.
jam:135: in object(file-target)@714.actualize from module object(file-
target)@714
C:/Users/Claudio/Desktop/boost_1_46_0/tools/build/v2\build-
system.jam:748: in load from module build-system
C:
\Users\Claudio\Desktop\boost_1_46_0\tools\build\v2/kernel\modules.jam:
283: in import from module modules
C:
\Users\Claudio\Desktop\boost_1_46_0\tools\build\v2\kernel\bootstrap.jam:
142: in boost-build from module
C:
\Users\Claudio\Desktop\boost_1_46_0\boost-build.jam:17: in module scope
from module

My MinGW Version is 4.5.2

I Have no problem on Linux
Ubuntu...

Why?

Ciao,
CLR

Supera i limiti: raddoppia la velocità da 10 a 20 Mega! Risparmia con Tutto Incluso: telefono + adsl 20 mega a soli 29,95 € al mese per due anni! SCONTO DI 240 EURO! http://abbonati.tiscali.it/telefono-adsl/prodotti/tc/tuttoincluso/?WT.mc_id=01fw


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