Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-12-07 03:37:47


On Tuesday 06 December 2005 03:11, Patrick Tan wrote:

Hi Patrick,

(BTW, please avoid HTML emails)

> Thanks for your response. I'm running bjam on linux and I'm having some
> trouble with using v2 for some reason. When I try to run a simple Jamfile
> using v2 I get the following error messages:
>
> [pattan_at_persian common]$ bjam --v2
> /home/pattan/repo/trunk/tools/build/v2/build/property.jam:264: in
> validate1 from module property error: Invalid property
> '<flex.prefix>bgl_undir_': unknown feature 'flex.prefix'.
....
> module type ../libs/graph/build/Jamfile.v2:16: in modules.load from module
> Jamfile</home/pattan/repo/trunk/libs/graph/build>
> /home/pattan/repo/trunk/tools/build/v2/build/project.jam:255: in
.....
>
> Would you know why I get these error messages?

Yes
1. Your project uses Boost.Graph in some way.
2. Boost graph uses flex, but does not contain "using flex ; " anywhere.
Adding
 
     using flex ;
     using bison ;

to /home/pattan/repo/trunk/libs/graph/build/Jamfile.v2 should fix this issue.

> The other question I want to ask is how do you link in pre built targets
> with boost build v1. I looked at the online documentation for boost build
> v1 and I couldn't find any information about it.

In V1? Probably <library-file> feature can be used.

- 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