Can't get battery tutorial to compile

Hi I am currently at the end of part 10 of the battery tutorial but I am now getting these errors:

Error MSB3073 The command ““C:\Program Files (x86)\Epic Games\4.10\Engine\Build\BatchFiles\Build.bat” BatteryCollectorEditor Win64 Development “C:\Users\Desktop\UnrealEngineTutorials\BatteryCollector\BatteryCollector.uproject” -rocket -waitmutex -2015” exited with code -1.


Error code OtherCompilationError (5)

What have I done wrong? I am pretty sure my code is identical to the tutorials so far.

Nevermind tried using the given .cpp and .h files and it’s completely broke the project. I am forced to start again.