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

 

 

參考http://www.javashuo.com/article/p-cddayhnu-gy.htmlhtml

在對應的build.cs文件中的Public/PrivatgeDependencyModuleNames引入相關模塊,好比上面我遇到的錯誤,加上下面這行就行了:ui

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "RHI", "RenderCore" });
相關文章
相關標籤/搜索