|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-05-27 07:06:14
Hi Wieger,
> 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 think V2 thinks that on Cygwin, libraries can have '.lib' suffix, but not
'.a'. Could you go to builtn.jam, find the line
declare-type NT CYGWIN : STATIC_LIB : lib : LIB : main ;
(around line 233 in my copy), change it to
declare-type NT CYGWIN : STATIC_LIB : lib a : LIB : main ;
and try again?
HTH,
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