VS2015 cl Can't find CRT libs (stdio.h, ctype.h etc.) when building on command line

前端 未结 3 2025
谎友^
谎友^ 2020-12-31 05:02
  • I have installed the latest VS2015 Professional version.
  • Opened the Visual Studio command prompt and ran vcvars32.bat
  • wrote a simple helloworld.cpp p
3条回答
  •  借酒劲吻你
    2020-12-31 05:25

    I ran into a similar problem on VS2017 (15.5.5) when building VC++ projects against Windows SDK 8.1:

    C1083 Cannot open include file: 'assert.h': No such file or directory

    Checking Windows 8.1 SDK and UCRT SDK in the VS installer solved the problem. Windows 8.1 SDK and UCRT SDK

提交回复
热议问题