I’m following the tutorial except my project name is MobileFPS and it is in a custom directory. I try to build code to create the ABaseCharacter class but get 2 errors.
1>------ Build started: Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------
2>------ Build started: Project: MobileFPS, Configuration: Development_Editor x64 ------
2> Creating makefile for hot reloading MobileFPSEditor (game project files are newer)
2> Compiling game modules for hot reload
2> Parsing headers for MobileFPSEditor
2> Running UnrealHeaderTool "C:\Users\Zachary\SkyDrive\Documents\Sunpeece Studios\Games\Mobile-FPS\MobileFPS\MobileFPS.uproject" "C:\Users\Zachary\SkyDrive\Documents\Sunpeece Studios\Games\Mobile-FPS\MobileFPS\Intermediate\Build\Win64\MobileFPSEditor\Development\MobileFPSEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
2> C:/Users/Zachary/SkyDrive/Documents/Sunpeece Studios/Games/Mobile-FPS/MobileFPS/Source/MobileFPS/BaseCharacter.h(26) : Function return type: Missing variable type
2>Error : Failed to generate code for MobileFPSEditor - error code: OtherCompilationError (5)
2> UnrealHeaderTool failed for target 'MobileFPSEditor' (platform: Win64, module info: C:\Users\Zachary\SkyDrive\Documents\Sunpeece Studios\Games\Mobile-FPS\MobileFPS\Intermediate\Build\Win64\MobileFPSEditor\Development\MobileFPSEditor.uhtmanifest).
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(37,5): error MSB3075: The command ""C:\Program Files (x86)\Epic Games\4.12\Engine\Build\BatchFiles\Build.bat" MobileFPSEditor Win64 Development "C:\Users\Zachary\SkyDrive\Documents\Sunpeece Studios\Games\Mobile-FPS\MobileFPS\MobileFPS.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========