首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >虚幻引擎4致命错误C1083

虚幻引擎4致命错误C1083
EN

Stack Overflow用户
提问于 2017-09-17 22:44:31
回答 1查看 1.9K关注 0票数 0

我尝试生成一个新的UE4项目(C++/Third Person),但总是得到以下错误

代码语言:javascript
复制
The project could not be compiled. Would you like to open it in Visual Studio?

Running C:/Program Files/Epic Games/UE_4.17/Engine/Binaries/DotNET/UnrealBuildTool.exe AnotherWorld Development Win64 -project="C:/Users/Paul/Documents/Unreal Projects/AnotherWorld/AnotherWorld.uproject" -editorrecompile -progress -NoHotReloadFromIDE
Creating makefile for AnotherWorld (no existing makefile)
Performing full C++ include scan (no include cache file)
@progress push 5%
Parsing headers for AnotherWorldEditor
Running UnrealHeaderTool "C:\Users\Paul\Documents\Unreal  Projects\AnotherWorld\AnotherWorld.uproject" "C:\Users\Paul\Documents\Unreal Projects\AnotherWorld\Intermediate\Build\Win64\AnotherWorldEditor\Development\AnotherWorldEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
Reflection code generated for AnotherWorldEditor in 18,9575823 seconds
@progress pop
Performing 11 actions (2 in parallel)
[2/11] Resource ModuleVersionResource.rc.inl
[3/11] Resource PCLaunch.rc
SharedPCH.Engine.cpp
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\INCLUDE\cstddef(5): fatal error C1083: file (Include) could not be opened: "stddef.h": No such file or directory
ERROR: UBT ERROR: Failed to produce item: C:\Users\Paul\Documents\Unreal  Projects\AnotherWorld\Binaries\Win64\UE4Editor-AnotherWorld.dll
Total build time: 42,13 seconds (Local executor: 0,00 seconds)

如何修复此错误?

EN

回答 1

Stack Overflow用户

发布于 2018-03-18 14:32:23

我知道这是一个老生常谈的问题,但我想我会把我的答案抛给任何偶然发现它的人。

您可能会遇到与我相同的问题,也就是说,当您从Visual Studio安装程序修改VS安装时,请确保您将Windows Universal CRT SDK与您正在使用的Windows SDK的任何版本一起安装missing the UCRT SDK.。在我的例子中,我只有Windows8.1SDK组件,并且收到了同样的错误。

安装了Windows Universal CRT SDK后,请尝试使用相同的设置创建一个新项目。您的旧项目将不会构建,因为我认为解决方案属性存在问题,不包括新的ucrt include路径。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/46265317

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档