Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-09-15 11:00:45


aneubeck2004 wrote:

> > > project preparation
> > >
> > > : requirements <library>/libs//pnglib ;
> > >
> > > Unfortunately this doesn't work :(
> > > Any ideas what's wrong with my Jamfiles?
> >
> > Do you have any 'use-project' invocation, as described right at the
>
> bottom of
>
> I was a bit inprecise.
> yes, I have a use-project.
> I don't get any syntax/interpretation error, when running bjam.
> But the linker is called without the -lz option, which I hoped to get
> by adding /libs//zlib.

Hmm... you're original post did not indicate the you've used /libs//zlib
anywhere ;-)

> Now the question is:
> How can I write the library dependency such that it works (also for
> more libraries)?

Basically, writing

lib z ;

and then

...... /libs//z .....

should work. If you want to express dependency from png to z, try using
<source>z in usage requirements for 'png'.

If you could sent me your project, I'll be able to give more specific advice.

- Volodya

>
> Alexander
>
>
>
>
>
> Yahoo! Groups Links
>
>
>

 


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