Boost logo

Boost-Build :

From: Matthieu P. (matt_at_[hidden])
Date: 2003-12-02 09:40:58


I am using bjam on msvc [not my choice] on a foobar project:

+- Jamfile
| Jamrules
| foo.cpp
+- bar
+- Jamfile

Jamfile in bar is:

subproject bar;

dll bar : bar.cpp
: <include>bar.h
: debug ;

Jamfile in foo is:

project-root ;

subinclude bar ;

exe foo : foo.cpp <dll>bar/bar
: debug ;

Upon building this project (bjam -sTOOLS=msvc foo), bjam stops at the
linking stage, saying he can't find bar.lib. bjam did built bar.dll
correctly though, so I don't know why he still expects a .lib file.

I tried to modify the line in allyourbase.jam about SUFDLL under the NT
section from '.dll .lib' to just '.dll', but it didn't work.

Thanks for your help.



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at