x

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"

error LNK2019: unresolved external symbol "void __cdecl GenerateConvenientWindowedResolutions

So I was modifying on UkismetSystemLibrary, to work just with c++ programming, but I stuck on that problem of linkage that i cant solve. Looking on google I cant find nothing related with this. I tried Linking the GameEngine.cpp Path where GenerateConvenientWindowdResolutions() is implemented on MyProject.buil.cs but no success. On UkismetSystemLibrary this funcition is caled as extern on function GetConvenientWindowedResolution() and doesnt have any declaretion on GameEngine.h.

on "UkismetsystemLibray.cpp"

 bool UAGSystem::GetConvenientWindowedResolutions(TArray<FIntPoint>& Resolutions)
 {
     FDisplayMetrics DisplayMetrics;
     if (FSlateApplication::IsInitialized())
     {
         FSlateApplication::Get().GetInitialDisplayMetrics(DisplayMetrics);
     }
     else
     {
         FDisplayMetrics::GetDisplayMetrics(DisplayMetrics);
     }
 // Declared here as extern//
     extern void GenerateConvenientWindowedResolutions(const struct FDisplayMetrics& InDisplayMetrics, TArray<FIntPoint>& OutResolutions);
     GenerateConvenientWindowedResolutions(DisplayMetrics, Resolutions);
 
     return true;
 }

Any idea how to solve this problem?

Product Version: UE 4.19
Tags:
more ▼

asked Jul 14 '18 at 05:29 PM in C++ Programming

avatar image

izacc
1 1

(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