UE4报错:无法编译项目

目录

错误一:

[解决方案: 创建项目不使用中文名(路径也不要有中文名)](#解决方案: 创建项目不使用中文名(路径也不要有中文名))

错误二:

解决方案:VS一开始使用的是2022版,创建时它让下2019版,下完之后把2022版VS卸载就可以了(不知道为什么。。。)


错误一:

Running I:/Epic Game/UE_4.26/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="I:/Epic Games Project/测试项目/测试项目.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE

Creating makefile for ??????ĿEditor (no existing makefile)

@progress push 5%

Parsing headers for ??????ĿEditor

Running UnrealHeaderTool "I:\Epic Games Project\??????Ŀ\??????Ŀ.uproject" "I:\Epic Games Project\??????Ŀ\Intermediate\Build\Win64\??????ĿEditor\Development\??????ĿEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Users\15620\AppData\Local\UnrealBuildTool\Log_UHT.txt" -installed

I:/Epic Games Project/????/Source/????/????GameModeBase.h(1): Error: Missing UCLASS name

解决方案: 创建项目不使用中文名(路径也不要有中文名)

错误二:

**Running I:/Epic Game/UE_4.26/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="I:/Epic Games Project/TestProject/TestProject.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Creating makefile for TestProjectEditor (no existing makefile)
@progress push 5%
Parsing headers for TestProjectEditor
Running UnrealHeaderTool "I:\Epic Games Project\TestProject\TestProject.uproject" "I:\Epic Games Project\TestProject\Intermediate\Build\Win64\TestProjectEditor\Development\TestProjectEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Users\15620\AppData\Local\UnrealBuildTool\Log_UHT.txt" -installed
Reflection code generated for TestProjectEditor in 3.4640772 seconds
@progress pop
Building TestProjectEditor...
Using Visual Studio 2019 14.40.33812 toolchain (C:\VS??????\VC\Tools\MSVC\14.40.33807) and Windows 10.0.22621.0 SDK (E:\Windows Kits\10).
Building 9 actions with 32 processes...
@progress 'Compiling C++ source code...' 0%
@progress 'Compiling C++ source code...' 11%

1/9\] Default.rc2 @progress 'Compiling C++ source code...' 22% \[2/9\] SharedPCH.Engine.ShadowErrors.cpp Detected compiler newer than Visual Studio 2019, please update min version checking in WindowsPlatformCompilerSetup.h I:\\Epic Game\\UE_4.26\\Engine\\Source\\Runtime\\Core\\Public\\Traits/IsContiguousContainer.h(6): fatal error C1083: ?޷??򿪰????ļ?: ??initializer_list??: No such file or directory** #### **解决方案:VS一开始使用的是2022版,创建时它让下2019版,下完之后把2022版VS卸载就可以了(不知道为什么。。。)**

相关推荐
HahaGiver6663 小时前
Unity Shader Graph 3D 实例 - 一个简单的红外线扫描全身效果
3d·unity·游戏引擎
o***Z4485 小时前
免费的WebAssembly游戏引擎,AssemblyScript
游戏引擎·wasm
深圳安锐科技有限公司8 小时前
大全!桥梁结构健康实时自动化监测预警——测量设备讲解+架构
解决方案·实时监测·自动化监测·桥梁监测
雪下的新火21 小时前
Blender:法线图&黑白图
游戏·unity·游戏引擎·blender·笔记分享
HahaGiver6661 天前
从0到1做一个“字母拼词”Unity小游戏(含源码/GIF)- 实现多单词顺序通关进度逻辑
unity·游戏引擎·游戏程序
weixin_424294671 天前
Unity 实现 ScrollBar 值变化控制 Panel 位置的方法
unity·游戏引擎
霜绛2 天前
Unity:lua热更新(二)——Lua语法(续)
笔记·学习·unity·游戏引擎·lua
HahaGiver6662 天前
Unity Shader Graph 3D 实例 - 一个简单的3D打印效果
3d·unity·游戏引擎
AA陈超2 天前
ASC学习笔记0004:通知相关方能力规格已被修改
c++·笔记·学习·游戏·ue5·游戏引擎·虚幻
胖胖求游戏2 天前
Unity热更新——AB包和Lua
unity·游戏引擎·lua