Hey all, I’m brand new to C++ development, though I have C# knowledge from work and some Unity hobbyism.
I’m starting to get incredibly frustrated with UE4, though. I’m trying to add a projectile to the Third Person template by picking pieces from the first person one. However, when I tried to add the projectile to my game, it wouldn’t compile - I’ve since deleted the files and removed all references to it, but I’m still getting this error! Visual Studio has been compiling just fine the entire time, but when I try to compile within the UE4 editor, it fails for thsi same reason every time. What the heck is going on?
Error C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(2517) : error C2027: use of undefined type 'ADodgeballProjectile'
Info c:\users\000\documents\unreal projects\dodgeballcpp\source\dodgeballcpp\DodgeballCPPCharacter.h(35) : see declaration of 'ADodgeballProjectile'
Info C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(2516) : while compiling class template member function 'UClass *TSubclassOf<ADodgeballProjectile>::operator *(void) const'
Info C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\CoreUObject\Public\UObject\ObjectBase.h(1476) : see reference to function template instantiation 'UClass *TSubclassOf<ADodgeballProjectile>::operator *(void) const' being compiled
Info c:\users\000\documents\unreal projects\dodgeballcpp\source\dodgeballcpp\DodgeballCPPCharacter.h(35) : see reference to class template instantiation 'TSubclassOf<ADodgeballProjectile>' being compiled
Error C:\Program Files\Epic Games\4.7\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(2517) : error C3861: 'StaticClass': identifier not found