How to build Boost 1.55 with Visual Studio 2013?

前端 未结 5 1280
情深已故
情深已故 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:50

    Let's go step by step and first build boost build system.

    "I include the file ('tlhelp32.h'). It is compiled without any errors."

    So, that file is present on the disk. Environment variables are set differently for cl.exe which is run by bootstrap.bat. Include files are searched by cl.exe in the INCLUDE env variable. Find tlhelp32.h on the disk and in the Visual Studio Command Prompt add this path to the INCLUDE:

    set INCLUDE=%INCLUDE%;
    

    If some .lib will not be found look at LIBPATH env variable.

    I suppose VS2013 vcvars*.bat files did not set the environment properly.

提交回复
热议问题