Boost logo

Boost-Build :

Subject: Re: [Boost-build] building release attempts to link against debug boost libs
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-23 10:28:11


AMDG

JohnnyJuggernaut wrote:
> When I build debug, everything builds perfectly. However, when I build
> release I can see from the verbose output that the correct libs are
> searched, followed by the debug libs which results in error.
>
> In the output below, the correct lib should be
> libboost_thread-vc90-mt-s-1_42.lib
> which it finds, but then it also tries to find
> libboost_thread-vc90-mt-sgd-1_42.lib
>

This is probably auto-linking getting in your way.
Try adding <define>BOOST_ALL_NO_LIB

In Christ,
Steven Watanabe


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