Boost logo

Boost-Build :

Subject: Re: [Boost-build] building release attempts to link against debug boost libs
From: JohnnyJuggernaut (johnnynin_at_[hidden])
Date: 2010-05-23 10:59:57


Steven Watanabe-4 wrote:
>
>
> This is probably auto-linking getting in your way.
> Try adding <define>BOOST_ALL_NO_LIB
>
> In Christ,
> Steven Watanabe
>

I sort of wanted auto-linking to work for what it is... I'm sure the problem
is something I've done and I'd like to determine what it is that I've done
incorrectly.

This change seems to get me a little further along:

<toolset>msvc:<cflags>/MTd:<variant>debug
<toolset>msvc:<cflags>/MT:<variant>release

since:

/MTd = libcmtd.lib, multithreaded, static link (debug)
/MT = libcmt.lib, multithreaded, static link

but now I'm getting this for both debug and release builds:

msvc.link
bin\msvc-9.0express\release\link-static\runtime-link-static\threading-multi\server.exe
The system cannot find the file specified.
msvc.manifest
bin\msvc-9.0express\release\link-static\runtime-link-static\threading-multi\server.exe
...updated 34 targets...

but I haven't been able to determine which file it can't find.

-- 
View this message in context: http://old.nabble.com/building-release-attempts-to-link-against-debug-boost-libs-tp28646713p28649849.html
Sent from the Boost - Build mailing list archive at Nabble.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