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"

Getting errors when following along with online tutorial

Following along with the unreal engine twin shooter video tutorials. Got to the part where you code your Base Character. Near the end of the video, when i go to build, i get errors.

Here's a screen shot of the BaseCharacter .cpp and .h Including the error list By my guest it has some issue with the "PostEditChangeProperty" function but I don't know what alt text

Product Version: UE 4.12
Tags:
capture.png (174.3 kB)
more ▼

asked Sep 24 '16 at 01:33 AM in C++ Programming

avatar image

BaseDrop0
8 2 4 9

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

1 answer: sort voted first

"unresolved external symbol" means you've declared something in your .h header that isn't ever defined in your .cpp source. In this case it's looking for "ABaseCharacter::PostEditChangeProperty(struct FPropertyChangedEvent&)" but can't find it.

In this case, it's probably because you have a typo at line 57 of your header:

 #if WITH_EDIOTR
 ...
 #endif

should be

 #if WITH_EDITOR
 ...
 #endif


Also, as a general tip, the "Error List" tab is often misleading with UE4 projects. Better to rely on the "Output" tab when looking at build results.

more ▼

answered Sep 24 '16 at 09:05 AM

avatar image

GigasightMedia
1.7k 42 12 61

avatar image BaseDrop0 Sep 24 '16 at 03:48 PM

Thank you. Feel silly for posting on a forum for help when it was just a typo. xP

(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