VS显示100条左右的错误,UE热编译也不能通过。原因可能是[名字.Build.cs]文件的错误,缺少一些内容,比如说如果要写UserWidget类,那么就要在 ]名字.Build.cs]
中加入如下内容:
根据你的文件进行添加。如果说依然有如图的问题,那你就去原来的项目里看看哪些没加上去。
正在创建库 D:UnrealWeatherPluginsbeibaoxitongBinariesWin64UnrealEditor-beibaoxitong.patch_1.lib 和对象 D:UnrealWeatherPluginsbeibaoxitongBinariesWin64UnrealEditor-beibaoxitong.patch_1.exp
Module.beibaoxitong.cpp.obj : error LNK2019: 无法解析的外部符号 “__declspec(dllimport) public: static struct FKey const EKeys::RightMouseButton” (_imp?RightMouseButton@EKeys@@2UFKey@@B),函数 “public: virtual class FReply __cdecl UInventorySlot::NativeOnMouseButtonDown(struct FGeometry const &,struct FPointerEvent const &)” (?NativeOnMouseButtonDown@UInventorySlot@@UEAA?AVFReply@@AEBUFGeometry@@AEBUFPointerEvent@@@Z) 中引用了该符号
D:UnrealWeatherPluginsbeibaoxitongBinariesWin64UnrealEditor-beibaoxitong.patch_1.exe : fatal error LNK1120: 1 个无法解析的外部命令
Failed to link patch (0.000s) (Exit code: 0x460)