Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-06-29 11:39:52


"gbmvdd" <grebe_at_[hidden]> writes:

>
> LIBCMTD.lib(dosmap.obj) : error LNK2005: __dosmaperr already
> defined in LIBCD.lib(dosmap.obj)
>
> Closer investigation revealed that the above unit test framework
> library's object files contain a /DEFAULTLIB:LIBCMTD.lib where I
> think it should be LIBCD.lib. Can anyone shed any light on why that
> might be? It suggests to me that bjam is telling the compiler /MTd
> when it should be told /MLd, but I can't figure out why that would be
> happening.

You can verify or refute your theory by passing "-n -a" to your bjam
invocation to see all of the commands it uses in the build.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
 

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