【发布时间】:2020-12-25 15:32:09
【问题描述】:
我正在使用 VS 代码。我正在学习 UNREAL C++ 的 Udemy 课程。在第45课(制作“Bull Cow Game”)时,我照他们说的做了,并尝试使用VS CODE制作虚幻的打印“Hİ THERE”。但UNREAL崩溃了。错误:
LoginId:418ab83d44c9d7a2f658178f337f9174 EpicAccountId:7aadca3dc68344419fd5e775294d71ad
断言失败:终端 [File:C:\UnrealBullCow\BullCowGame-starter-kit\Source\BullCowGame\Console\Cartridge.cpp] [Line: 12] [BullCowCartridge]: 未找到终端
UE4Editor_Core UE4Editor_Core UE4Editor_BullCowGame_7145!DispatchCheckVerify >() [C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime\Core\Public\Misc\AssertionMacros.h:161] UE4Editor_BullCowGame_7145!UCartridge::BeginPlay( ) [C:\UnrealBullCow\BullCowGame-starter-kit\Source\BullCowGame\Console\Cartridge.cpp:12] UE4Editor_BullCowGame_7145!UBullCowCartridge::BeginPlay() [C:\UnrealBullCow\BullCowGame-starter-kit\Source\BullCowGame\BullCowCartridge .cpp:7] UE4Editor_Engine UE4Editor_Engine UE4Editor_Engine UE4Editor_Engine UE4Editor_Engine UE4Editor_Engine UE4Editor_UnrealEd UE4Editor_UnrealEd UE4Editor_UnrealEd UE4Editor_UnrealEd UE4Editor_UnrealEd UE4Editor_UnrealEd UE4Editor_UnrealEd UE4Editor_UnrealEd UE4Editor UE4Editor UE4Editor
我该如何解决这个问题? 我试过:在终端中添加
cl BullCowCartridge.cpp/EHsc/Zi
这样做会产生这个错误:
Microsoft Windows [版本 10.0.18363.1016] (c) 2019 年微软公司。保留所有权利。
C:\UnrealBullCow\BullCowGame-starter-kit\Source\BullCowGame>cl BullCowCartridge.cpp/EHsc/Zi Microsoft (R) C/C++ 优化编译器版本 19.27.29111 for x86 版权所有 (C) 微软公司。保留所有权利。
cl:命令行警告 D9024:无法识别的源文件类型“BullCowCartridge.cpp/EHsc/Zi”,假定为目标文件 Microsoft (R) 增量链接器版本 14.27.29111.0 版权所有 (C) 微软公司。保留所有权利。
/out:Zi.exe BullCowCartridge.cpp/EHsc/Zi LINK : 致命错误 LNK1181: 无法打开输入文件 'BullCowCartridge.cpp\EHsc\Zi.obj'
C:\UnrealBullCow\BullCowGame-starter-kit\Source\BullCowGame>
在终端中按 F5 出现此错误:
在 BullCowGame 文件夹中执行任务:Engine\Build\BatchFiles\Build.bat BullCowGame Win64 Debug C:\UnrealBullCow\BullCowGame-starter-kit\BullCowGame.uproject -waitmutex
为 BullCowGame 创建 makefile(没有现有的 makefile) 错误:无法使用此引擎分发在调试配置中构建目标。 终端进程“C:\Windows\System32\cmd.exe /d /c Engine\Build\BatchFiles\Build.bat BullCowGame Win64 Debug C:\UnrealBullCow\BullCowGame-starter-kit\BullCowGame.uproject -waitmutex”终止并退出代码:6。
终端将被任务重用,按任意键关闭它。
我能做什么?
【问题讨论】:
标签: unreal-engine4