无法编译该项目。要在Visual Studio中打开它吗? Running T:/UE4_Engine/UE_5.1/Engine/Build/BatchFiles/Build.bat Development Win64 -Project="W:/YSWORK/akie/akie.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" Development Win64 -Project="W:/YSWORK/akie/akie.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE Log file: C:\Users\Admin\AppData\Local\UnrealBuildTool\Log.txt Creating makefile for akieEditor (no existing makefile) @progress push 5% Parsing headers for akieEditor Running Internal UnrealHeaderTool W:\YSWORK\akie\akie.uproject W:\YSWORK\akie\Intermediate\Build\Win64\akieEditor\Development\akieEditor.uhtmanifest -WarningsAsErrors -installed Total of 4 written Reflection code generated for akieEditor in 1.135638 seconds @progress pop Building akieEditor... Using Visual Studio 2022 14.33.31631 toolchain (T:\??????Community\VC\Tools\MSVC\14.33.31629) and Windows 10.0.22000.0 SDK (C:\Program Files (x86)\Windows Kits\10). Determining max actions to execute in parallel (8 physical cores, 16 logical cores) Executing up to 8 processes, one per physical core Building 9 actions with 8 processes... [1/9] Resource Default.rc2 [2/9] Compile SharedPCH.Engine.ShadowErrors.cpp T:\UE4_Engine\UE_5.1\Engine\Source\Runtime\Core\Public\Traits\IsContiguousContainer.h(6): fatal error C1083: ????????? ??initializer_list??: No such file or directory [3/9] Compile akie.cpp cancelled [4/9] Compile akieGameModeBase.gen.cpp cancelled [5/9] Compile akie.init.gen.cpp cancelled [6/9] Compile akieGameModeBase.cpp cancelled [7/9] Link UnrealEditor-akie.dll cancelled [8/9] Link UnrealEditor-akie.lib cancelled [9/9] WriteMetadata akieEditor.target cancelled
时间: 2023-07-21 15:07:49 浏览: 232
VS安装qt扩展库(插件),Qt Tools for Visual Studio 2015/2017/2019/2022
您在编译项目时遇到了错误。根据日志,编译过程中出现了以下错误:
T:\UE4_Engine\UE_5.1\Engine\Source\Runtime\Core\Public\Traits\IsContiguousContainer.h(6): fatal error C1083: 找不到文件或目录:initializer_list
这个错误通常是由于缺少标准库文件或项目配置错误引起的。您可以尝试以下解决方案:
1. 确保您的项目配置正确,包括正确设置了编译器和 SDK 版本。
2. 检查是否缺少必要的标准库文件。您可以尝试重新安装或更新所需的标准库。
3. 确保您的项目依赖项正确安装并配置。如果您使用了第三方库或插件,请确保它们已正确导入并设置。
如果上述解决方案无法解决问题,请提供更多关于项目配置和错误信息的信息,以便我可以更好地帮助您解决问题。
阅读全文