Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UELinkerFixup error when building / packaging

Hi everyone,

I tried everything I could do so I really hope you can help me on this. When I tried to package my game, I had this type of error : "unresolved external symbol "void __cdecl EmptyLinkFunctionForStaticInitialization..." . I tried to compile my code with the Development mode in VS and had the same result.

I tried to found a solution and found a lot of post about errors in packaging game and did a lot of things like rebuild after rebooting, set the same DefaultGameMode and DefaultGameServerMode etc. And I finally found a post where some people said to rebuild the UE4.sln in Development to avoid that type of errors. BUT (there is always a but... ;p)

This means to have a project with a GitHub version of UE4 no? And I'm using a classic project created with launcher and only with the code of the project. I tried to found it in the Engine folders with no results.

So my question here is : Is there any UE4.sln in Engine folders? If yes, where? Is anyone know what to do ?

Thx for your future answer.

Product Version: Not Selected
more ▼

asked Sep 03 '14 at 07:16 PM in Packaging & Deployment

avatar image

11 1 2 3

avatar image cognimancer Oct 02 '14 at 09:14 PM

Hi SuperWax, I'm having the same issue. Did you ever find a solution?

avatar image BRNWSHR Oct 03 '14 at 03:04 PM

Hi cognimancer, at this time, I didn't find any solution for this problem. For me, we need to compile the Unreal Engine in the GitHub version in development, then copy and paste this build (UE4.exe) and replace the UE4.exe from the non-Git and then retry the compilation in the non-Git version ;) ! But it's just some idea. Didn't test it yet

avatar image anders_tobii Nov 03 '14 at 12:49 PM

+1, I get the same error both from the Editor (File/Package project/Windows 64-bit) and from VS.

I built the Unreal Engine from the 4.5 branch on github.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I fixed this for my project, which was a plugin I was writing. My problem was occurring when I called the IMPLEMENT_MODULE macro - from what I can tell, if this macro's second argument is invalid, it will throw this error. There may be other bugs that cause this same error, but that did it for me. Hope that helps.

more ▼

answered Nov 03 '14 at 06:36 PM

avatar image

236 11 101 160

avatar image anders_tobii Nov 05 '14 at 12:54 PM

It dit help. Thanks a million!

avatar image Stardidi Nov 24 '17 at 06:49 PM

To further clarify for anyone coming across this: Many examples have

 IMPLEMENT_MODULE(MyModuleImpl, Module)

This will work fine, but fail when packaging. The Module should be replaced with your own module name

 IMPLEMENT_MODULE(MyModuleImpl, MyModule)
avatar image Laurent.Nvizzio Feb 07 '18 at 10:18 PM

This is indeed the proper answer.

There are several places where the module name is specified (.uproject, IMPLEMENT_.._MODULE macro, in the Build.cs file) but the build system does not enforce strict equality of these references when building and loading. Mismatches will manifest very indirectly in build or loading issues and can be tricky to identify.

It would certainly help if the documentation mentioned where the root identifier is specified and which fields in other documents are references to that identifier.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question