Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-10 04:52:11


On Thursday 09 February 2006 17:30, Mark Evans wrote:
> I ran into a problem using the <file> feature for indicating a prebuilt
> library file. After building a variant of lib bar of
> examples/libraries/util/foo/Jamfile, I changed the Jamfile as follows just
> to demonstrate the problem:
>
> #lib bar : bar.cpp ;
> lib bar : : <file>bin/hptnsr3d/libbar.so ;
>
> The indicated file is the result of a build before changing Jamfile. With
> the change to Jamfile, I get the following error trace:
>
> /cygdrive/c/mse/proj/boost-build/build/generators.jam:918: in ensure-type
> from module generators error: target { bin/hptnsr3d/libbar.so. } has no

That's because tools/types/lib.jam does not mark '.so' as a library suffix on
NT.

But it also has nothing to make V2 *produce* .so files. Are you sure that .so
file is produced? Can you check what's the output of:

   $ bjam -f-
   ECHO $(OS) ;

is?

- 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