Boost logo

Boost-Build :

Subject: Re: [Boost-build] equal filenames in different directories
From: Евгений Шубин (shubin_evgeniy_at_[hidden])
Date: 2011-04-14 10:11:03


> Wed, 9 Mar 2011 17:21:11 +0300 письмо от Vladimir Prus <ghost_at_[hidden]>:
>
> > Are you using the most recent (1.46 or nightly-build) version? What
> > are those files specifically and where are they located? In most
> > cases, source files with the same basename that are used inside
> > one project will be built to different directories.
>
> bjam --version
> Boost.Build V2 (Milestone 12)
> Boost.Jam 03.1.16
>
> Files are cpp-sources. They are located in subdirectories with different
> names. Jamfile is located in root directory of the project.
> Absolute paths to files are used to build project.
> Should I upgrade my build system?

I have tried bjam, compiled with sources of boost 1.46.1, and boost-build from the same source.
And have the same error:
error: Duplicate name of actual target: <pbin/gcc-4.4.5/debug/link-static/threading-multi>StringValue.o
error: previous virtual target { gcc%gcc.compile.c++-StringValue.o.OBJ {.../common/tags/StringValue.cpp.CPP } }
error: created from ./common
error: another virtual target { gcc%gcc.compile.c++-StringValue.o.OBJ { .../common/property/value/StringValue.cpp.CPP } }
error: created from ./common
error: added properties: none
error: removed properties: none

Boost.Build V2 (Milestone 12)
Boost.Jam 03.1.19
Could this problem be solved without renaming files?


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