Boost logo

Boost-Build :

Subject: Re: [Boost-build] how to detect the problem
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-06-07 05:05:39


On Wednesday 27 May 2009 15:09:05 Anatoly Shirokov wrote:
> How to detect problem if bjam produces the following output:
>
> ../boost-build/build\project.jam:699: in attribute
> warning: rulename $($(project).attributes).get expands to empty string
> ../boost-build/build\project.jam:87: in load-used-projects
> ../boost-build/build\project.jam:79: in load
> ../boost-build/build\project.jam:170: in project.find
> ../boost-build/build\targets.jam:394: in find-really
> ../boost-build/build\targets.jam:410: in find
> ../boost-build/build\targets.jam:287: in targets-to-build
> ../boost-build/build\targets.jam:253: in object(project-target)@157.generate

First of all, try nightly build from boost.org/boost-build2 -- it appears you
are using older version, and this code is somewhat different now, at least
the line numbers do not match.

Then, use --debug-building and --debug-loading options to see what project is
build when this error is produced. Once you figure what project is build,
check its 'use-project' statements, and whether they refer to valid locations.
If that still gives no clue, send the output with the two options above.

- Volodya


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