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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How can I resolve a linking issue with AES (unresolved externals)?

Linking issue with AES (unresolved externals)

I am having a issue compiling the project when using the static functions from FAES. According to the Unreal Engine documentation it is part of the Core module, which I have included in my project.Build.cs.

I am using Unreal Engine version 4.1.

Linking errors:

 Error    1    error LNK2019: unresolved external symbol "public: static void __cdecl FAES::EncryptData(unsigned char *,unsigned int,char *)" (?EncryptData@FAES@@SAXPEAEIPEAD@Z) referenced in function "public: void __cdecl AMyPlayerController::SetStrings(class TArray<class FString,class FDefaultAllocator>)" (?SetStrings@AMyPlayerController@@QEAAXV?$TArray@VFString@@VFDefaultAllocator@@@@@Z)    MyPlayerController.cpp.obj
 Error    2    error LNK2019: unresolved external symbol "public: static void __cdecl FAES::DecryptData(unsigned char *,unsigned int,char *)" (?DecryptData@FAES@@SAXPEAEIPEAD@Z) referenced in function "public: void __cdecl AMyPlayerController::GetStrings(class TArray<class FString,class FDefaultAllocator> &)" (?GetStrings@AMyPlayerController@@QEAAXAEAV?$TArray@VFString@@VFDefaultAllocator@@@@@Z)    C:\Unreal Projects\project\Intermediate\ProjectFiles\MyPlayerController.cpp.obj

Product Version: Not Selected
more ▼

asked May 12 '14 at 08:52 AM in C++ Programming

avatar image

41 2 3 7

avatar image punaukkko May 12 '14 at 09:40 PM

I looked more closely the Unreal Engine source and it looks to me that is pretty much disabled completely. Maybe it is disabled intentionally in which case it would be nice if it was mentioned in the documentation. Throughout the AES.cpp file there are "#ifdef AES_KEY" macros and AES_KEY is not defined anywhere, which disables all the code.

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

0 answers: sort voted first
Be the first one to answer this question
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