How to build Boost 1.55 with Visual Studio 2013?

前端 未结 5 1283
情深已故
情深已故 2021-02-15 12:43

I\'m trying to build Boost 1.55 with Visual Studio 2013.

1) I tried to use boost-binaries (boost-binaries), but Visual Studio wrote about the error, when I tried to comp

5条回答
  •  离开以前
    2021-02-15 12:58

    if you are using windows 8.1, open the vs2012 x86 Tool command prompt,type

    echo %WindowsSdkDir%
    

    if you see this below

    C:\Program Files (x86)\Windows Kits\8.0\
    

    that means vcvars32.bat set the wrong INCLUDE variable for you,which issue marked as bug in ms website so the solution is:

    edit vcvars32.bat,replace

    %WindowsSDKDir%\include\um;
    

    to

    C:\Program Files (x86)\Windows Kits\8.1\include\um;
    

    another solutions is modify the VS2012 x86 Native Tools Command Prompt.link,copy and paste the vs2012 x86 Native Tools Command Prompt ,right click,modify the link,replace all

    Microsoft Visual Studio 11.0
    

    to

    Microsoft Visual Studio 12.0
    

    open the link,try to build the boost

提交回复
热议问题