Boost logo

Boost-Build :

Subject: Re: [Boost-build] unable to construct prebuild library
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-02-21 07:08:07

Alexander Bernauer wrote:

> On Saturday 21 February 2009 07:51:22 Vladimir Prus wrote:
>> Does it help if you use:
>> searched-lib boost_program_options : :
>> <name>boost_program_options-gcc43-mt-1_38 ;
> Yes! It's even enough to state
> searched-lib boost_program_options ;
> FYI: I just rechecked. searched-lib is not mentioned in the documentation.
> Furthermore I wonder why at a different Jamfile the following works
> ----8<----
> lib boost_date_time ;
> lib boost_thread ;
> alias boost_libs : boost_date_time boost_thread ;
> project : usage-requirements <include>../include <library>boost_libs ;
> ---->8----

The story here is that 'lib' rule tries to be smart and figure out
if you want searched lib or ordinary lib, depending on what properties
are passed to it. It sometimes fails, and 'searched-lib' is a more
explicit way.

Do you use <source> property anywhere in project requirements? That's
one way to confuse 'lib' -- and you might consider using <library>
instead (as documentation say)

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at