Can I load third party DLL in Runtime engine Plugin?
I've created engine plugin where I load third party DLL, I want to use this plugin in standalone game. As per documentation, I need to use "Runtime" type plugin in order to use it in standalone game. But when I try to package it, while building source code it gives me below mentioned linker error.
LogPlayLevel: UnrealBuildTool: UELinkerFixups.cpp.obj : error LNK2019: unresolved external symbol "void __cdecl EmptyLinkFunctionForStaticInitializationMyPlugin2(void)" (?EmptyLinkFunctionForStaticInitializationMyPlugin2@@YAXXZ) referenced in function "void __cdecl UELinkerFixups(void)" (?UELinkerFixups@@YAXXZ)
If I changed plugin type to "Developer" then it build successfully. But Deveoper plugin does not get included while packaging the game.
So please guide me to solve this issue.
asked Mar 24 '17 at 05:56 AM in C++ Programming
Oh wait, I remember now. I had the same issue and I found my answer here. Maybe you have the same issue (copy/paste issue haha :D...).
answered Mar 24 '17 at 12:12 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here