However, I quickly realized that things were not going as planned when I saw the `xbuild’ message come up. I am not a big fan of Mono, but I am still willing to give it a go. However, my Mono, upon trying to build the project files, kept throwing errors about unused variables (yes, I said errors. Still trying to figure that one out).
The unused variables were all in GUBP.Automation.cs, on lines 4922, 5110 and 5137 (line 5110 doesn’t error until 5137 is commented out).
After commenting out said variables, I then got an error upon running `make SlateViewer.’
The error was as follows:
Building UnrealHeaderTool... ERROR: System.ComponentModel.Win32Exception: ApplicationName='/home/tony/GitHub/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe', CommandLine='UnrealHeaderTool Linux Development -NoMutex', CurrentDirectory='' at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in :0 at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in :0 at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x00000] in :0 at UnrealBuildTool.ExternalExecution.RunExternalExecutable (System.String ExePath, System.String Commandline) [0x00000] in :0 at UnrealBuildTool.ExternalExecution.ExecuteHeaderToolIfNecessary (UnrealBuildTool.UEBuildTarget Target, UnrealBuildTool.CPPEnvironment GlobalCompileEnvironment, System.Collections.Generic.List'1 UObjectModules, System.String ModuleInfoFileName, UnrealBuildTool.ECompilationResult& UHTResult) [0x00000] in :0 at UnrealBuildTool.UEBuildTarget.Build (IUEToolChain TargetToolChain, System.Collections.Generic.List'1& OutputItems, System.Collections.Generic.List'1& UObjectModules, System.String& EULAViolationWarning) [0x00000] in :0 at UnrealBuildTool.UnrealBuildTool.RunUBT (System.String Arguments) [0x00000] in :0 Makefile:373: recipe for target 'SlateViewer' failed make: *** [SlateViewer] Error 5
I don’t understand any of this (one thing I dislike about building with Mono), but I think that it has something to do with the lines I commented out.
My system specs:
Distribution: Fedora 21
Kernel Version: 4.0.4
Mono version: 2.10.8 (can’t find an update anywhere)
`xbuild’ version: 2.10.8
UE Version: 4.8
I absolutely refuse to use Unity, but I’ve no idea whether this will work using Wine or not.