I've created a separate module within my game project and it's been working fine for building and running in the editor on Win64. It's even built and packaged properly on iOS, however when I try and package the project for Win64 or Android I'm getting a linker error:
UnrealBuildTool: UELinkerFixups.cpp.obj : error LNK2019: unresolved external symbol "void __cdecl EmptyLinkFunctionForGeneratedCodeMyModuleName(void)" (?EmptyLinkFunctionForGeneratedCodeMyModuleName@@YAXXZ) referenced in function "void __cdecl UELinkerFixups(void)" (?UELinkerFixups@@YAXXZ)
I'm unsure what setup I have that is incorrect. I see that the build process should probably be generating a generated.cpp for my module inside the Intermediate directory, but I don't see one for my module. Does anyone know what my problem could be?
We haven't heard from you in a while, NeoRob.gg. Are you still experiencing this issue? If so, have you tried checking what I mentioned in my previous comment? In the meantime, I'll be marking this issue as resolved for tracking purposes. Whenever you're available, please leave a comment and the question will reopen.
answered May 19 '16 at 03:24 PM
I meet same issue after upgrade from 4.11.2 to 4.12.3. Just clean and build again in visual studio, it works.
answered Jun 20 '16 at 08:16 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here