Boost logo

Boost Users :

Subject: Re: [Boost-users] release vs. debug build
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-01-02 16:14:10


AMDG

Joseph A. Marks wrote:
> After many debug builds, I am trying to build a "release" version -- sometimes known as a non-debug build or retail version.
>
> In any event, despite changing my .inc file to not use the following debug library, and doing a "build clear" (which is roughly equivalent to a rebuild all), I get the following:
>
> LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc90-mt-gd-1_37.lib'
>
> I tried to change the include libraries so that libboost_date_time-vc90-mt-1_37.lib was used instead.
>
> Am I required to rebuild the entire Boost system (e.g. using "jam" files) when I want to swtich from debug to release? Can anyone think of any obvious solution to this problem?
>
> Note: I obtain the Boost lists via digests, so it may take a while for me to interactively respond, if that becomes needed.
>

Automatic linking uses _DEBUG to decide which library to link to.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net