Boost logo

Boost-Build :

Subject: Re: [Boost-build] Building doc error: 'toolbox' is not a valid property specification
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-11-15 10:43:14


AMDG

On 11/15/2012 03:21 AM, Daniel James wrote:
> On 14 November 2012 23:56, Christian Henning <chhenning_at_[hidden]> wrote:
>>
>> Now I get this error:
>>
>> C:/boost/tools/build/v2/build\virtual-target.jam:1106: in
>> virtual-target.register-actual-name from module virtual-target
>> error: Duplicate name of actual target:
>
> I don't know. I tried the files you posted and they worked okay for
> me. When I saw the error I first thought it might be a conflict with
> another jamfile (in which case I think the solution would be to
> specify a project in the jamfile), but the error suggests that the
> conflict is from the same file. It seems that boost build is running
> the jamfile twice but doesn't realise that it's the same file. Is
> there anything in your setup that could cause that?
>

The problem is that the jamfiles for Boost
are loaded too late. If you add
using boost : /path/to/boost ;

it should work.

In Christ,
Steven Watanabe


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