Search in

Sort by:

Everything Using UE4

Current Space

Question Status:

All Questions With Answer With Accepted Answer

Quick results

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

Linker Errors LNK2001 & LNK2019 when packaging the project

0

Hi,

I have just finished the development of my game and want to package it for the windows (64-bit). However, when I try to run the packaging process, it fails with linker errors unresolved symbols. But, the weird thing is that the game is compiling and running fine in the editor.

I have included the packaging logs below. Has anyone experienced this before? Any help will be appreciated.

Thank you for your time and effort, but I've figured out what was I doing wrong.

So, what was happening was that the methods for which I was getting the linker errors, were declared as 'inline' but due to some reason I defined them in the .cpp file. Because of that the linker was not able to find the function definitions for those function while packaging.

This brings another doubt. Why didn't the linker raise that error when compiling in the editor? Does this mean that the linker's functioning is somehow different for both the operations?? Or is it a Bug?