I need to build boost (1.55) with VS2013, but the regular toolset (toolset=msvc-12.0) doesn't work on XP. There is a different toolset for XP (which you can change in VS itself).
Does anyone know the toolset string I need to use in order to compile boost for XP using msvc-12.0 ?
EDIT: I'm using b2.exe
Thanks You!
Building Boost have never been easier. Just double click this .bat-file and wait for it to be finished. Put this in a file called build_boost_1_58_vs2013.bat and place it next to the boost_1_58_0 folder. The first line will add the Visual Studio tools to PATH, in essence, you can just double click this file to build boost.
Build Tools 2013 provides the essential tools for building managed applications. If you don't have Visual Studio installed on your computer, you can use Build Tools 2013 to build managed applications. The Visual Basic and C# compilers are also included in this download.
The first line will add the Visual Studio tools to PATH, in essence, you can just double click this file to build boost. For a Windows user, it can’t get much easier than this. Then add stage/$ (Platform)/lib as additional library directory in project settings for all configuration types and for all platforms.
To compile anything in Boost, you need a directory containing the boost subdirectory in your #include path. Specific steps for setting up #include paths in Microsoft Visual Studio follow later in this document; if you use another IDE, please consult your product's documentation for instructions.
Check this link: https://web.archive.org/web/20130208113614/http://blogs.msdn.com/b/vcblog/archive/2012/10/08/10357555.aspx
original link (dead): http://blogs.msdn.com/b/vcblog/archive/2012/10/08/10357555.aspx
It explains how to compile in command line using cl.exe and choose XP toolset.
When compiling boost, before starting the build itself using b2.exe, insert all required parameters in order to choose 120_xp toolset.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With