C++ File Compile Error

I just installed UE4 today and I am following the Twin Stick Shooter tutorial. I got to the part where I have to create my first C++ file, everything works until the part where the file compiles. It says something about auto compile failing and gives me the option to look at the log. I have been searching for a solution the whole day, but I have not found one. I downloaded windows SDK 8.1, I updated visual studio community with C++ common tools and I also installed visual studio express 2013, but still no fix.

This is the log:

Running C:/Program Files (x86)/Epic Games/4.11/Engine/Binaries/DotNET/UnrealBuildTool.exe  -projectfiles -project="C:/Users/XXXX/Documents/Unreal Projects/TwinStickShooter/TwinStickShooter.uproject" -game -progress -2015
Discovering modules, targets and source code for game...
LogHotReload: Recompiling module TwinStickShooter...
LogVSAccessor:Warning: Couldn't access Visual Studio
Recompiling TwinStickShooter...
Launching UnrealBuildTool... [C:/Program Files (x86)/Epic Games/4.11/Engine/Binaries/DotNET/UnrealBuildTool.exe TwinStickShooter -ModuleWithSuffix TwinStickShooter 1999 Win64 Development -editorrecompile -FailIfGeneratedCodeChanges -canskiplink "C:/Users/XXXX/Documents/Unreal Projects/TwinStickShooter/TwinStickShooter.uproject"  -2015]
Creating makefile for hot reloading TwinStickShooter (no existing makefile)
Compiling game modules for hot reload
Performing full C++ include scan (no include cache file)
Parsing headers for TwinStickShooterEditor
  Running UnrealHeaderTool "C:\Users\XXXX\Documents\Unreal Projects\TwinStickShooter\TwinStickShooter.uproject" "C:\Users\XXXX\Documents\Unreal Projects\TwinStickShooter\Intermediate\Build\Win64\TwinStickShooterEditor\Development\UnrealHeaderTool.manifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -insta
lled -FailIfGeneratedCodeChanges
ERROR: 'C:/Users/XXXX/Documents/Unreal Projects/TwinStickShooter/Intermediate/Build/Win64/UE4Editor/Inc/TwinStickShooter/BaseCharacter.generated.h': Changes to generated code are not allowed - conflicts written to 'C:/Users/XXXX/Documents/Unreal Projects/TwinStickShooter/Intermediate/Build/Win64/UE4Editor/Inc/TwinStickShooter/BaseCharacter.generated.h.co
nflict'
Error: Failed to generate code for TwinStickShooterEditor - error code: OtherCompilationError (5)
UnrealHeaderTool failed for target 'TwinStickShooterEditor' (platform: Win64, module info: C:\Users\XXXX\Documents\Unreal Projects\TwinStickShooter\Intermediate\Build\Win64\TwinStickShooterEditor\Development\UnrealHeaderTool.manifest).
CompilerResultsLog: New page: Compilation - 24 Apr 2016 3:29:05 am
CompilerResultsLog: Info Creating makefile for hot reloading TwinStickShooter (no existing makefile)
CompilerResultsLog: Info Compiling game modules for hot reload
CompilerResultsLog: Info Performing full C++ include scan (no include cache file)
CompilerResultsLog: Info Parsing headers for TwinStickShooterEditor
CompilerResultsLog: Info   Running UnrealHeaderTool "C:\Users\XXXX\Documents\Unreal Projects\TwinStickShooter\TwinStickShooter.uproject" "C:\Users\XXXX\Documents\Unreal Projects\TwinStickShooter\Intermediate\Build\Win64\TwinStickShooterEditor\Development\UnrealHeaderTool.manifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended
 -WarningsAsErrors -installed -FailIfGeneratedCodeChanges
CompilerResultsLog: Info ERROR: 'C:/Users/XXXX/Documents/Unreal Projects/TwinStickShooter/Intermediate/Build/Win64/UE4Editor/Inc/TwinStickShooter/BaseCharacter.generated.h': Changes to generated code are not allowed - conflicts written to 'C:/Users/XXXX/Documents/Unreal Projects/TwinStickShooter/Intermediate/Build/Win64/UE4Editor/Inc/TwinStickShooter/Bas
eCharacter.generated.h.conflict'
CompilerResultsLog:Error: Error Error: Failed to generate code for TwinStickShooterEditor - error code: OtherCompilationError (5) 
CompilerResultsLog: Info UnrealHeaderTool failed for target 'TwinStickShooterEditor' (platform: Win64, module info: C:\Users\XXXX\Documents\Unreal Projects\TwinStickShooter\Intermediate\Build\Win64\TwinStickShooterEditor\Development\UnrealHeaderTool.manifest).
LogMainFrame: MainFrame: Module compiling took 5.323 seconds

It seems I can still load the c++ files from opening visual basic from the engine. What does this error do then?

Bump? (5 Chars Needed)

Can your show header file of BaseCharacter? Also try rebuilding and deleteing Intermediete directory in project directory (you need to regenerate VS project files, you have option for that by right clicking uproject file)

The issue seems to be in generated files by UHT

I only got the error when I create the file, but the file still gets created completely fine, I just open VS from unreal engine and it works fine. I suppose the error doesn’t really matter anyway, I have not noticed anything, but if you know that it is bad, just comment again please, thanks your time though.