|
Boost Users : |
Subject: Re: [Boost-users] Sanity check please?: Boost 1_55_0 and building VS2012 static libs?
From: g4_at_[hidden]
Date: 2014-05-21 12:15:59
Hello Szymon and thanks. That, of course, hits the nail right on the head. The macro was defined out-of-view in the properties editor!
From: Boost-users [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Szymon Gatner
Sent: 21 May 2014 16:52
To: boost-users
Subject: Re: [Boost-users] Sanity check please?: Boost 1_55_0 and building VS2012 static libs?
Most likely you main project has _SECURE_SCL=0 defined but BOOST was build without it.
Use it when building BOOSt with b2
2014-05-21 16:51 GMT+02:00 <g4_at_[hidden]>:
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 mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Szymon Gatner Bravasoft / The Lordz Games Studio Twitter: @sgatner
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