Unreal :error LNK2019: unresolved externel symbol "__declspec(dllimport) xxx"

 

Unreal :error LNK2019: unresolved externel symbol

 

参考https://www.cnblogs.com/-sev-/p/7908136.html

在对应的build.cs文件中的Public/PrivatgeDependencyModuleNames引入相关模块,比如上面我遇到的错误,加上下面这行就好了:

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

 

转载于:https://www.cnblogs.com/redips-l/p/11506170.html

你可能感兴趣的:(Unreal :error LNK2019: unresolved externel symbol "__declspec(dllimport) xxx")