Boost logo

Boost Users :

Subject: Re: [Boost-users] Sanity check please?: Boost 1_55_0 and building VS2012 static libs?
From: John Maddock (boost.regex_at_[hidden])
Date: 2014-05-21 13:11:41


On 21/05/2014 15:51, g4_at_[hidden] wrote:
> 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

Question: why are you manually linking when that is known is to error
prone no matter how careful you are? Why not let auto-linking pick the
correct variant for you?

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