To use a specific VS version there was a toolset option for the build. I have not done it since about 1.45. It always seemed to take some trial and error attempts to get the name right for the toolset for me. I think the option is still mentioned in the :Getting started” doc. It still required setting the environment correctly with the batch file or similar as Lorenzo mentioned.
 
Larry
 
Sent: Thursday, August 20, 2015 7:50 AM
Subject: Re: [Boost-users] build boost with specific msvcrt.lib
 
Il 14/08/2015 21:36, Abhay Mhatre ha scritto:
is it possible to provide specific msvcrt.lib while building boost. It uses default one and my build system uses the one specified in build system. this causes heap corruption at the end of program termination.
 
thanks


_____________________________________
sorry,
do you mean that you have multiple VS instances in your machine and you want to use
a specific one ?
if it is the case, usually VS has a batch in the VC directory which sets all the needed
path for the specificed version, so it should be the case.
else, it sounds a bit unusual that building everything with the same compiler
leads to heap corruption...  it may sound silly, but have you checked that you are
the build system is all the same for each of ht ecomponents you are building ?

regards
Lorenzo


_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users