Boost logo

Boost Users :

Subject: Re: [Boost-users] [bjam][1.41.0] Build with variant=release, debug fails
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2010-01-06 14:35:56


Richard Hadsell wrote:

> I am trying to build the Boost 1.41.0 libraries with this command:
>
> bin/bjam --user-config=user-config.LINUX_AMDF7 threading=multi instruction-set=opteron
> address-model=64 variant=release,debug,profile link=static,shared --stagedir=stageF7 stage
>
> The last time I built Boost libraries was version 1.35.0. I eliminated
> all of the other options to narrow the problem to just this option:
>
> variant=release,debug
>
> The build starts up successfully, if I select just one option for
> variant (debug or release), but it fails when I try to build both.
> These are the error messages:
>
> error: Duplicate name of actual target: <pstageF7/lib>libboost_date_time.a

By default, the build process creates libraries named in accordance with system conventions,
e.g. libboost_date_time.a -- and naturally, you cannot produce both debug and release
libraries named that way. So, either build one variant or use --layout=tagged.

HTH,
Volodya


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