|
Boost-Build : |
From: Rod Morison (morisonro_at_[hidden])
Date: 2006-08-10 17:43:56
I'm starting an app which will use boost. I'd like to move from make to
bjam, but I'm still getting my head around boost.build.
Right now I'm stuck on a simple problem: With bjam the link command is
not finding the boost libs...
I built boost successfully for vc-7_1. Headers headers & libs installed
into C:\Boost...
/Boost/include/boost-1_33_1/boost/...
/Boost/lib/...
I'm running Boost.Build from the boost-build-2.0-m11.tar.bz2 in
c:\boost-build
In building a small Boost.Threads app the linker is clearly not finding
the libs:
% bjam
...patience...
...found 258 targets...
...updating 2 targets...
compile-c-c++ bin\msvc\debug\CreateThread.obj
CreateThread.cpp
msvc.link bin\msvc\debug\CreateThread.exe
LINK : fatal error LNK1104: cannot open file
'libboost_thread-vc71-mt-gd-1_33_1.lib'
...updated 2 targets...
In ./boost-build.jam I have:
boost-build c:\\boost-build ;
and in ./Jamroot:
project
: requirements <include>c:/Boost/include/boost-1_33_1
;
exe CreateThread : CreateThread.cpp ;
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