Search code examples
c++boostbuildwindows-xpvisual-studio-2013

Build boost on visual studio 2013 XP toolset


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!


Solution

  • 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.