Boost logo

Boost Users :

Subject: [Boost-users] Sanity check please?: Boost 1_55_0 and building VS2012 static libs?
From: g4_at_[hidden]
Date: 2014-05-21 10:51:12


Revisiting Boost after a long absence. Any thoughts on the following
problem(s)?

W7x64 with VS2008,2010,2012 and 2013 installed. VS2012 preferred for regular
use.

Built with boostrap and b2

b2 -link=static -runtime-link=static -toolset=msvc-11.0.

I compile a debug test app with /MTd and attempt to link with
libboost_system-vc110-mt-gd-1_55.lib which is the only library close to
matching the ABI tag specified here :
http://www.boost.org/doc/libs/1_55_0/more/getting_started/windows.html#id46

Ensuing link errors are:

1>libboost_system-vc110-mt-gd-1_55.lib(error_code.obj) : error LNK2038:
mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value
'0' in tcpproxy_server.obj
1>libboost_system-vc110-mt-gd-1_55.lib(error_code.obj) : error LNK2038:
mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't
match value 'MT_StaticRelease' in tcpproxy_server.obj
1>LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other
libs; use /NODEFAULTLIB:library

Many thanks.


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