当前位置: 代码迷 >> 综合 >> UE4 错误信息:unresolved external symbol “__declspec(dllimport) private: static class UClass * __cdecl AA
  详细解决方案

UE4 错误信息:unresolved external symbol “__declspec(dllimport) private: static class UClass * __cdecl AA

热度:54   发布时间:2023-10-24 02:32:52.0

1.错误如下图

UE4 错误信息:unresolved external symbol “__declspec(dllimport) private: static class UClass * __cdecl AA

2.解决方案:

将module名称,加入module列表中,代码如下

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore","UMG", "AIModule" });

位置如下图所示:

UE4 错误信息:unresolved external symbol “__declspec(dllimport) private: static class UClass * __cdecl AA

  相关解决方案