且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

标准标头上的Visual Studio 2017错误

更新时间:2023-02-05 10:38:58

我通过安装Windows Universal CRT SDK组件消除了错误,该组件增加了对旧版Windows SDK的支持.您可以使用Visual Studio安装程序进行安装:

I got the errors to go away by installing the Windows Universal CRT SDK component, which adds support for legacy Windows SDKs. You can install this using the Visual Studio Installer:

如果问题仍然存在,则应在Visual Studio项目中更改目标SDK:检查Windows SDK版本是否为10.0.15063.0.

If the problem still persists, you should change the Target SDK in the Visual Studio Project : check whether the Windows SDK version is 10.0.15063.0.

在:项目->属性->常规-> Windows SDK版本->选择10.0.15063.0.

In : Project -> Properties -> General -> Windows SDK Version -> select 10.0.15063.0.

然后将找到errno.h和其他标准文件并将其编译.

Then errno.h and other standard files will be found and it will compile.