Subject: [Boost-bugs] [Boost C++ Libraries] #7482: Build from source with MinGW on Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-07 18:46:34
#7482: Build from source with MinGW on Windows
----------------------------------+-----------------------------------------
Reporter: RusBaratov@⦠| Type: Bugs
Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.52.0
Severity: Problem | Keywords: mingw windows layout system
----------------------------------+-----------------------------------------
Hello, I've trying to build boost with mingw, and I've got error, when
`--layout=system` option is used.
check out (with cygwin):
{{{
> svn co http://svn.boost.org/svn/boost/trunk boost-trunk
> svnversion
80897
}}}
build (windows cmd.exe):
{{{
> g++ --version
g++ (Built by MinGW-builds projects) 4.7.1
> cd boost-trunk
> .\bootstrap gcc
}}}
build with `--layout=tagged` works fine:
{{{
> .\b2 --toolset=gcc --layout=tagged
}}}
but build with `--layout=system` failed:
{{{
> .\b2 --toolset=gcc --layout=system
...
error: Duplicate name of actual target: <pstage\lib>libboost_atomic.a
error: previous virtual target { common%common.copy-
libboost_atomic.a.STATIC_LIB { gcc%gcc.archive-
libboost_atomic.a.STATIC_LIB { gcc%gcc.compile.c++-
lockpool.o.OBJ { lockpool.cpp.CPP } } } }
error: created from ./stage-proper
error: another virtual target { common%common.copy-
libboost_atomic.a.STATIC_LIB { gcc%gcc.archive-
libboost_atomic.a.STATIC_LIB { gcc%gcc.compile.c++-l
ockpool.o.OBJ { lockpool.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
M:/boost-trunk/tools/build/v2/build\virtual-target.jam:491: in actualize-
no-scanner from module object(file-target)@4808
M:/boost-trunk/tools/build/v2/build\virtual-target.jam:134: in object
(file-target)@4808.actualize from module object(file-target)@4808
M:/boost-trunk/tools/build/v2\build-system.jam:736: in load from module
build-system
M:\boost-trunk\tools\build\v2/kernel\modules.jam:289: in import from
module modules
M:\boost-trunk\tools\build\v2/kernel/bootstrap.jam:139: in boost-build
from module
M:\boost-trunk\boost-build.jam:17: in module scope from module
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7482> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC