Gameplay Abilities plugin Packaging error

So I have been using the GameplayAbilities plugin for a while now and i have a fair understanding of C++, however, i started my current project in blueprints. When i go to package the project, I get the following errors:

ExternalExecution.ExecuteHeaderToolIfNecessary: Running UnrealHeaderTool “C:\Users\Squidee\Documents\Unreal Projects\Ferrum_Final\Ferrum_Final.uproject” “C:\Users\Squidee\Documents\Unreal Projects\Ferrum_Final\Intermediate\Build\Win64\Ferrum_Final\Development\Ferrum_Final.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
ExternalExecution.PrintProcessOutputAsync: C:/Program Files/Epic Games/UE_4.21/Engine/Source/Runtime/Engine/Classes/GameFramework/Character.h(1): Error: Missing ‘class’ in Class declaration
UEBuildTarget.Build: Error: UnrealHeaderTool failed for target ‘Ferrum_Final’ (platform: Win64, module info: C:\Users\Squidee\Documents\Unreal Projects\Ferrum_Final\Intermediate\Build\Win64\Ferrum_Final\Development\Ferrum_Final.uhtmanifest, exit code: OtherCompilationError (5)).

I have been trying to crack down on these errors for months now and I would appreciate any help i can get

here are the error files
link text

for the sake of this question being able to still be answered, i’m commenting

It is telling you that there is a problem with the character.h file. Someone had a very similar problem here:-

Turns out that a ‘-’ had appeared in their file. Easy enough to do accidentally if you are poking around trying to learn something. I did try attaching a copy of my character.h for you but Unreal will not allow it even renamed to a txt file.

I don’t want to go upsetting any copyright terms so I would suggest you download and install a fresh copy and see what is wrong/different about yours.
Good luck.

do you know of any way to reset the character.h to its defaults?

Look up how to download source files for Unreal engine from github. You will have to sign up to github. Once you are signed up, if you go to the download of the Unreal Engine sourcecode there is an option to ‘Find file’ - A button at the top of the page
There you can search for character.h - the one you want is the top result (look at the path). Select this file and it will show you the text you want. Not sure if you can download a single file but what you can do is select the text and copy it. Then paste it in a text document and save it as character.h
Fingers crossed.

i will try that today when i get back from work