一开始是没装Visual Studio。安装完成后想创建C++项目出现如下报错。
无法编译该项目。要在Visual Studio中打开它吗?
Running E:/Epic Games/UE_4.27/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="E:/Epic Games/UE_4.27/UnrealProjects/我的项目4/我的项目4.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Creating makefile for ?ҵ???Ŀ4Editor (no existing makefile)
@progress push 5%
Parsing headers for ?ҵ???Ŀ4Editor
Running UnrealHeaderTool "E:\Epic Games\UE_4.27\UnrealProjects\?ҵ???Ŀ4\?ҵ???Ŀ4.uproject" "E:\Epic Games\UE_4.27\UnrealProjects\?ҵ???Ŀ4\Intermediate\Build\Win64\?ҵ???Ŀ4Editor\Development\?ҵ???Ŀ4Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Users\86131\AppData\Local\UnrealBuildTool\Log_UHT.txt" -installed
LogInit: Display: Loading text-based GConfig....
E:/Epic Games/UE_4.27/UnrealProjects/????4/Source/????4/????4GameModeBase.h(1): Error: Missing UCLASS name文章来源:https://www.toymoban.com/news/detail-771073.html
解决:创建项目不要使用中文名称!!!(可恶-_-)文章来源地址https://www.toymoban.com/news/detail-771073.html
到了这里,关于UE4无法编译项目。是否要在Visual Studio中打开的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!