Boost logo

Boost-Build :

From: Michael Stevens (Michael.Stevens_at_[hidden])
Date: 2004-05-11 03:09:38


On Tuesday 11 May 2004 09:35, Wieger Wesselink wrote:
> There seem to be some unexpected problems with this compiler. When
> linking it cannot find certain libraries:
>
> LINK : fatal error LNK1104: cannot open file 'msvcprtd.lib'
This is the stubs library for the DLL version of the runtime library. It seems
that the VC++ Toolkit only installs the static versions of the runtime
libraries.

BBv2 default is for dynamic runtime library linking. With this it set compiler
option /MD which requires this library. For static linking from the command
line you need to build with "bjam --v2 link-runtime=static"

>
> More on this can be found on:
>
> http://forums.mozillazine.org/viewtopic.php?t=70783
>
> It appears that this can be solved by adding some directories to
> vcvars32.bat, but I still need to try that.
This will only be possible if you already have these additional libraries
installed as part of another product. Visual C++ 7.1 (aka Visual Studio .NET
2003) for example!!

Michael

P.S.
The new toolkit is very useful if you want to do multi compiler regression
testing from Linux. Once it is installed it can be easily executed under
Wine.

-- 
___________________________________
Michael Stevens Systems Engineering
Navigation Systems, Estimation and
Bayesian Filtering
http://bayesclasses.sf.net
___________________________________
 

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