Boost logo

Boost-Build :

From: Altec (altecrtcw_at_[hidden])
Date: 2004-08-17 00:48:26


The following setup should detect the msvc version but the build bombs with:

"failed to build ./someLib ... because no best matching alternative"

Here are the 2 msvc entries in user-config.jam and the project Jamfile.
I'm probably doing something wrong any ideas?

###### user-config.jam (in boost.build v2.0-m9.1 dir)
using msvc : 6 : "Z:/bin/Microsoft Visual Studio/VC98" ;
using msvc : 7.1 : "Z:/bin/Microsoft_VCToolkit_2003" ;

##### Jamfile (in my project root dir)
VC6LIBS = Z:/lib/vc6/mt ;
VC7LIBS = Z:/lib/vc7/mt ;

project
: requirements
<threading>multi <link-runtime>static
<include>"Z:/src/Boost/include/boost-1_31"
;

lib someLib
:
: <name>someLibd <search>$(VC6LIBS)
<toolset>msvc <toolset-msvc:version>6
<variant>debug ;
;

lib someLib
:
: <name>someLibd <search>$(VC7LIBS)
<toolset>msvc <toolset-msvc:version>7.1
<variant>debug ;
;

...

exe myApp
: myApp.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