Errors When Compiling

EDIT: Solved this issue by closing the instance of visual studio the editor opened and manually opening it as an admin. The class built successfully then.

Hi Guys,
Decided to start using unreal engine after using another engine for last few years, I am following the Twin Stick Shooter Tutorial to get me started. But when compiling the code in the 5th video I get the two following errors :


Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK2019	unresolved external symbol "private: static class UClass * __cdecl ABaseCharacter::GetPrivateStaticClass(wchar_t const *)" (?GetPrivateStaticClass@ABaseCharacter@@CAPEAVUClass@@PEB_W@Z) referenced in function "public: static void * __cdecl ABaseCharacter::operator new(unsigned __int64,class UObject *,class FName,enum EObjectFlags)" (??2ABaseCharacter@@SAPEAX_KPEAVUObject@@VFName@@W4EObjectFlags@@@Z)	TwinStickShooter	C:\Users\wayne\Documents\Unreal Projects\TwinStickShooter\Intermediate\ProjectFiles\BaseCharacter.cpp.obj	1	




Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK2019	unresolved external symbol "public: __cdecl ABaseCharacter::ABaseCharacter(class FVTableHelper &)" (??0ABaseCharacter@@QEAA@AEAVFVTableHelper@@@Z) referenced in function "public: static class UObject * __cdecl ABaseCharacter::__VTableCtorCaller(class FVTableHelper &)" (?__VTableCtorCaller@ABaseCharacter@@SAPEAVUObject@@AEAVFVTableHelper@@@Z)	TwinStickShooter	C:\Users\wayne\Documents\Unreal Projects\TwinStickShooter\Intermediate\ProjectFiles\BaseCharacter.cpp.obj	1	


Anyone have any idea as too what might wrong, as far as I can see these errors aren’t with the code I’ve copied from the video.