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"

fatal error LNK1120: 35 unresolved externals

I'm getting these LNK2019s and LNK 2001s
I've posted it on pastebin since it's pretty long: http://pastebin.com/ucL41z9x

I'm using the procedural mesh component class from the wiki, I had it working on 4.6 but when I copied my code to use it on 4.7 I get these linker errors.

Product Version: Not Selected
Tags:
more ▼

asked Mar 31 '15 at 08:01 PM in C++ Programming

avatar image

GunBunnyStudios
28 8 6 10

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

2 answers: sort voted first

You're missing some module references in your build.cs file

Something like this:

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "RenderCore", "ShaderCore", "RHI" });

You want to add the last three to your file.

more ▼

answered Mar 31 '15 at 09:57 PM

avatar image

twiddle
1.5k 55 36 73

avatar image GunBunnyStudios Mar 31 '15 at 10:18 PM

Oh man, that's totally it. Forgot that step... Thank you!

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

Make sure that your .CPP code file is not in your intermediate folder. It should be in the same /Source/ folder as your other source code files. I've made this mistake several times and spent hours trying to figure out why my linker errors were occurring.

more ▼

answered Mar 31 '15 at 08:30 PM

avatar image

Slayemin
819 49 29 73

avatar image GunBunnyStudios Mar 31 '15 at 08:34 PM

Unfortunately, that's not the issue for me. Everything is under Source/[Project Name]/

(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