Boost logo

Boost-Build :

From: Wieger Wesselink (wieger_at_[hidden])
Date: 2003-05-27 06:58:06


Hi,

I'm trying to link a prebuilt library with Boost.Build v2, but I
cannot get it to work. The error message I get is:

/cygdrive/d/cpp/boost-build/new/prebuilt.jam:28: in object(prebuilt-
file-generator)@1.run from module object(prebuilt-file-generator)@1
error: Unknown type for prebuilt target bdd in Jamfile<../lib/lib1>

Can someone tell me what I do wrong, or instead show me a working
example of how to link a prebuilt library?

I have used the following configuration (under cygwin):

lib/lib1/Jamfile:
-----------------
project bdd
: usage-requirements <include>include ;

lib bdd
:
: <file>libbdd.a <variant>release
;

src/Jamfile:
-----------------
exe app : app.cpp ../lib/lib1/bdd ;

I have verified that the library (which is located in
lib/lib1/libbdd.a) is OK.

Regards,

Wieger

 


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