Boost logo

Boost-Build :

From: TEMPLIE Cédric (cedric.templie_at_[hidden])
Date: 2004-12-23 05:09:45


I use the latest CVS version....
But my sample does not work :(

I always have the same error...

So I come back to use <dependency>, and like that it works :)

But another duplicate error issue appear :(

I give you a simple exemple that illustrate the issue... and the error
message.

It seems that the issue comes from stage rule... because staging is not
dependant of variant in my build system, but sometimes I need to build
the 2 variants of a lib in the same build....

Any idea to help me ?

Thx in advance.

TEMPLIE Cédric

TEMPLIE Cédric wrote:
> A simple exemple that reproduce the error....
>
> I hope it will help you to solve my problem...
>
>
> Vladimir Prus wrote:
>
>>Hi Cédric,
>>
>>
>>
>>>To explain my issue, I explain my configuration.
>>>I have 2 projects 1 and 2.
>>>Project2 uses Project1. The following Jamfiles are in folders of
>>>Project1 and Project2.
>>
>>
>>Could you please send a complete self-contained testcase which exposes the
>>problem as archive, so that I could try it?
>>
>>Thanks,
>>Volodya
>>
>>
>>
>>
>>Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>

 --------------080301030404060506080801 Content-Type: text/plain;
name="error.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="error.txt"

C:\Test>bjam
C:/Echo/Boost/boost-build/build\virtual-target.jam:855: in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <pC:\Test\include>project1.h
error: previous virtual target { common%common.copy-project1.H { project1.H } }
error: created from
error: another virtual target { common%common.copy-project1.H { project1.H } }
error: created from
error: added properties: <define>NDEBUG
error: removed properties: <define>_DEBUG
C:/Echo/Boost/boost-build/build\virtual-target.jam:175: in actualize-no-scanner from module object(file-target)@18
C:/Echo/Boost/boost-build/build\virtual-target.jam:110: in object(file-target)@18.actualize from module object(file-target)@18
C:/Echo/Boost/boost-build/build\virtual-target.jam:654: in actualize-source-type from module object(compile-action)@3
C:/Echo/Boost/boost-build/build\virtual-target.jam:673: in actualize-sources from module object(compile-action)@3
C:/Echo/Boost/boost-build/build\virtual-target.jam:620: in object(compile-action)@3.actualize from module object(compile-action)@3
C:/Echo/Boost/boost-build/build\virtual-target.jam:316: in actualize-action from module object(file-target)@21
C:/Echo/Boost/boost-build/build\virtual-target.jam:182: in actualize-no-scanner from module object(file-target)@21
C:/Echo/Boost/boost-build/build\virtual-target.jam:110: in object(file-target)@21.actualize from module object(file-target)@21
C:/Echo/Boost/boost-build/build\virtual-target.jam:654: in actualize-source-type from module object(action)@13
C:/Echo/Boost/boost-build/build\virtual-target.jam:673: in actualize-sources from module object(action)@13
C:/Echo/Boost/boost-build/build\virtual-target.jam:620: in object(action)@13.actualize from module object(action)@13
C:/Echo/Boost/boost-build/build\virtual-target.jam:316: in actualize-action from module object(file-target)@32
C:/Echo/Boost/boost-build/build\virtual-target.jam:182: in actualize-no-scanner from module object(file-target)@32
C:/Echo/Boost/boost-build/build\virtual-target.jam:110: in object(file-target)@32.actualize from module object(file-target)@32
C:/Echo/Boost/boost-build\build-system.jam:169: in load from module build-system
C:\Echo\Boost\boost-build\kernel\modules.jam:259: in import from module modules
C:\Echo\Boost\boost-build\kernel\bootstrap.jam:120: in boost-build from module
C:\Echo\Boost\boost-build\boost-build.jam:2: in module scope from module --------------080301030404060506080801 Content-Type: application/x-zip-compressed;
name="Test.zip"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="Test.zip"

[Attachment content not displayed.] --------------080301030404060506080801--


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