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"

Unresolved External Symbol

Hi, I was trying to get another class to reference functions in this one. I got it to reference successfully but then after further work I got the usual 'Headers have been modified, close editor and recompile'.

It was on this compile in Visual Studio that I got this:

 Error    1    error LNK2001: unresolved external symbol "public: virtual void __cdecl AbeatsProto2Character::GetLifetimeReplicatedProps(class TArray<class FLifetimeProperty,class FDefaultAllocator> &)const " (?GetLifetimeReplicatedProps@AbeatsProto2Character@@UEBAXAEAV?$TArray@VFLifetimeProperty@@VFDefaultAllocator@@@@@Z)    E:\Users\mike\Documents\Unreal-Projects\beatsProto2 4.3\Intermediate\ProjectFiles\beatsProto2Character.cpp.obj    beatsProto2
 Error    2    error LNK1120: 1 unresolved externals    E:\Users\mike\Documents\Unreal-Projects\beatsProto2 4.3\Binaries\Win64\UE4Editor-beatsProto2.dll    1    1    beatsProto2
 Error    3    error : Failed to produce item: E:\Users\mike\Documents\Unreal-Projects\beatsProto2 4.3\Binaries\Win64\UE4Editor-beatsProto2.dll    E:\Users\mike\Documents\Unreal-Projects\beatsProto2 4.3\Intermediate\ProjectFiles\ERROR    beatsProto2
 Error    4    error MSB3073: The command ""C:\Program Files\Unreal Engine\4.3\Engine\Build\BatchFiles\Build.bat" beatsProto2Editor Win64 Development "E:\Users\mike\Documents\Unreal-Projects\beatsProto2 4.3\beatsProto2.uproject" -rocket" exited with code -1.    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets    38    5    beatsProto2

 5    IntelliSense: identifier "FWindSourceSceneProxy" is undefined    c:\Program Files\Unreal Engine\4.3\Engine\Source\Runtime\Engine\Classes\Components\WindDirectionalSourceComponent.h    20    2    beatsProto2

 6    IntelliSense: identifier "FOnSelectedLevelsChangedEvent" is undefined    c:\Program Files\Unreal Engine\4.3\Engine\Source\Runtime\Engine\Classes\Engine\World.h    1899    2    beatsProto2

 7    IntelliSense: identifier "FMeshBatchElement" is undefined    c:\Program Files\Unreal Engine\4.3\Engine\Source\Runtime\ShaderCore\Public\VertexFactory.h    475    131    beatsProto2

I commented out all of my changes since the last successful compile. I tried right clicking the .uproject and choosing "Generate Visual Studio project files". This answer https://answers.unrealengine.com/questions/4191/unresolved-external-symbol.html implies that I need the line

 AbeatsProto2Character::AbeatsProto2Character(const class FPostConstructInitializeProperties& PCIP)

in my .cpp, but it's been there all along. Now I can't open the project from the UE Manager because 'The game module "beatsProto2" could not be found" since it's not compiled, so I can't do any more work =(

Product Version: Not Selected
more ▼

asked Jul 26 '14 at 03:43 AM in C++ Programming

avatar image

36 4 6 9

(comments are locked)
10|2000 characters needed characters left

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