|
Boost Users : |
From: David Abrahams (yg-boost-users_at_[hidden])
Date: 2002-08-24 06:45:25
For linking to an external library which you can't build, you should use the
<find-library> <library-path>, and/or <library-file> directives in your
executable's "requirements" section:
exe MyProgram
: foo.cpp bar.cpp
: <library-path>E:/code/Library <find-library>MyLib
;
OR
exe MyProgram
: foo.cpp bar.cpp
: <library-file>E:/code/Library/MyLib.lib
;
HTH,
Dave
-- ----------------------------------------------------------- David Abrahams * Boost Consulting dave_at_[hidden] * http://www.boost-consulting.com "sashan" <sashang_at_[hidden]> wrote in message news:3D66E3C7.5060605_at_ihug.co.nz... > Hi > > I've built the Python library and a few of my own test projects. I have > problems when trying to link with an external library. Basically I get > the 'unresolved external' link error. So I look at the jamfile I'm using > and in the dependencies section add the following > > <dll>E:/code/Library/MyLib > > Then I run bjam again and the first error I get is > > E:/Code/Library/Jamfile: No such file or directory > > So I guess its looking for a Jamfile in that directory. Problem is I > don't know what to put inside the Jamfile. Can someone please help? > > Thank you > > Sashan > > > >
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net