Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem with building release mode, trying to link in debug library
From: John Maddock (john_at_[hidden])
Date: 2008-09-29 07:15:17


Patrick Loney wrote:
> I'm trying to build my application in release mode using VC8 and
> failing
> with a link error:
>
> LINK : fatal error LNK1104: cannot open file
> 'libboost_thread-vc80-mt-gd-1_34_1.lib'
>
> I am including the non-debug version of the thread library and don't
> want the debug version in there (because that's going to cause other
> link errors) but have no idea how the debug version is being included
> in
> the link.
>
> Apologies if this is a little off topic but has anyone had this
> problem
> or got any suggestions?

My guess is that _DEBUG is defined for some reason, but the library
selection logic is in boost/config/auto_link.hpp, which code generation
options are you using?

HTH, John.


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