Discussion:
msvc-14.0 xp support
(too old to reply)
Li Sheng
2017-01-06 00:31:12 UTC
Permalink
Hello Boost community,

I'm trying to compile boost *1.61.0* with following command on Windows 10
machine:

bootstrap.bat
b2 headers
b2 -a -j9 --stagedir=./stage/boost-xp *toolset=msvc-11.0,msvc-14.0*
threading=multi
link=static runtime-link=static address-model=64 *define=_USING_V110_SDK71_
define=BOOST_USE_WINAPI_VERSION=0x0501* -d+2 --debug-building

As described above, my chosen compilers are MSVC 11 and 14, and I want to
enable xp support on produced libraries. Library files compiled by VC11
work fine, but VC14 files are not. Then I added "--debug-building" to see
what's actually going on.

My console log shows "Command line free features: _USING_V110_SDK71_,
BOOST_USE_WINAPI_VERSION=0x0501" when toolset is "msvc-14.0". This does not
occur when toolset is "msvc-11.0".

After all, can anyone kindly help me with compile boost on msvc-14.0 with
xp support? Please forgive me for asking this weird usage.

Warmest regards and gratitude,
ZD

Loading...