Automation tool failed, UnrealHeaderTool failed to build

Hi,

  1. So, originally the problem was that I couldn’t compile my project. The original error was:
    “failed to build for target …UnrealHeaderTool.manifest”

  2. Then clicked Window->ProjectLauncher->Debug, which produced the following errorlog:


mono: ERROR: UBT ERROR: Failed to produce item: /home/nico/Documents/Unreal Projects/03_BuildingEscape/BuildingEscape/Binaries/Linux/BuildingEscape-Linux-Debug
mono: Total build time: 1359,75 seconds
CommandUtils.Run: Run: Took 1360,961926s to run mono, ExitCode=5
Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:5): /home/nico/Desktop/UnrealEngine-release/Engine/Binaries/DotNET/UnrealBuildTool.exe BuildingEscape Linux Debug -Project="/home/nico/Documents/Unreal Projects/03_BuildingEscape/BuildingEscape/BuildingEscape.uproject" “/home/nico/Documents/Unreal Projects/03_BuildingEscape/BuildingEscape/BuildingEscape.uproject” -remoteini="/home/nico/Documents/Unreal Projects/03_BuildingEscape/BuildingEscape" -noxge -NoHotReloadFromIDE -ignorejunk. See logfile for details: ‘UnrealBuildTool-2016.04.30-11.39.45.txt’
at AutomationTool.CommandUtils.RunAndLog (System.String App, System.String CommandLine, System.String Logfile, Int32 MaxSuccessCode, System.String Input, ERunOptions Options, System.Collections.Generic.Dictionary2 EnvVars) [0x00000] in :0 at AutomationTool.CommandUtils.RunAndLog (AutomationTool.CommandEnvironment Env, System.String App, System.String CommandLine, System.String LogName, Int32 MaxSuccessCode, System.String Input, ERunOptions Options, System.Collections.Generic.Dictionary2 EnvVars) [0x00000] in :0
at AutomationTool.CommandUtils.RunUBT (AutomationTool.CommandEnvironment Env, System.String UBTExecutable, System.String CommandLine, System.String LogName, System.Collections.Generic.Dictionary2 EnvVars) [0x00000] in :0 at AutomationTool.CommandUtils.RunUBT (AutomationTool.CommandEnvironment Env, System.String UBTExecutable, UnrealBuildTool.FileReference Project, System.String Target, System.String Platform, System.String Config, System.String AdditionalArgs, System.String LogName, System.Collections.Generic.Dictionary2 EnvVars) [0x00000] in :0
at AutomationTool.UE4Build.BuildWithUBT (System.String TargetName, UnrealTargetPlatform TargetPlatform, System.String Config, UnrealBuildTool.FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, System.String InAddArgs, Boolean ForceUnity, System.Collections.Generic.Dictionary2 EnvVars) [0x00000] in :0 at AutomationTool.UE4Build.Build (AutomationTool.BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, System.Collections.Generic.Dictionary2 PlatformEnvVars) [0x00000] in :0 at Project.Build (AutomationTool.BuildCommand Command, AutomationTool.ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) [0x00000] in :0 at BuildCookRun.DoBuildCookRun (AutomationTool.ProjectParams Params) [0x00000] in :0 at BuildCookRun.ExecuteBuild () [0x00000] in :0 at AutomationTool.BuildCommand.Execute () [0x00000] in :0 at AutomationTool.Automation.Execute (System.Collections.Generic.List1 CommandsToExecute, Tools.DotNETCommon.CaselessDictionary.CaselessDictionary1 Commands) [0x00000] in :0 at AutomationTool.Automation.Process (System.String[] CommandLine) [0x00000] in :0 at AutomationTool.Program.MainProc (System.Object Param) [0x00000] in :0 at AutomationTool.InternalUtils.RunSingleInstance (System.Func2 Main, System.Object Param) [0x00000] in :0
at AutomationTool.Program.Main () [0x00000] in :0
Program.Main: AutomationTool exiting with ExitCode=5 (5)
Domain_ProcessExit
RunUAT ERROR: AutomationTool was unable to run successfully.

  1. In my IDE, when I try to build a file, I get an error at: “#include Engine.h” file missing

  2. I run it on Ubuntu64bit 14.04

THX