一開始是沒裝Visual Studio。安裝完成后想創(chuàng)建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文章來源:http://www.zghlxwxcb.cn/news/detail-771073.html
解決:創(chuàng)建項目不要使用中文名稱?。。。蓯?_-)文章來源地址http://www.zghlxwxcb.cn/news/detail-771073.html
到了這里,關于UE4無法編譯項目。是否要在Visual Studio中打開的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網!