How to build Boost 1.55 with Visual Studio 2013?

前端 未结 5 1282
情深已故
情深已故 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 13:02

    The paths set up for the include variable point to Windows 8.0 instead of Windows 8.1.

    The file you mention with Visual Studio 2013 and Windows 8.1 should be found in the following path:

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

    I modified the INCLUDE variable from:

    INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE;C:\Program Files (x86)\Windows Kits\8.1\include\shared;C:\Program Files (x86)\Windows Kits\8.0\include\um;C:\Program Files (x86)\Windows Kits\8.0\include\winrt
    

    to:

    INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE;C:\Program Files (x86)\Windows Kits\8.1\include\shared;C:\Program Files (x86)\Windows Kits\8.1\include\um;C:\Program Files (x86)\Windows Kits\8.1\include\winrt
    

提交回复
热议问题