Linux Compiling and Other Woes

I am now officially out of ideas … and hereby request assistance from those that have done it before or know how to do it.

What I Have Working:
I have got a game running and compiling under Windows perfectly, this includes a Windows Dedicated Server. I package the project on Windows correctly and compile the Dedicated Server on Windows correctly and everything works as expected.

What I want to do:
I want to create the dedicated server on Linux and then would like to package and compile the game to be used on Linux. This is both for Dedicated Server and Game Client.

What I have tried:
Firstly I tried to package and build on Windows using Clang … I was unable to get it working. I followed this tutorial: [Compiling For Linux][1]

Next I tried to Build the Editor on Ubuntu Linux and then do the package and build on Linux … I was unable to get it to even build the editor properly. I followed this tutorial: [Building On Linux][2]

I then tried to Build the Editor on Linux Mint and do the same package and build on Linux … I was actually able to get the Editor to Build and Run (see attached screenshot), but it crashes all the time. I am unable to create and open a new project and I am unable to open my current project. I followed this tutorial: [Installing Unreal Engine in Linux Mint/Ubuntu][3]

http://www.gobbogames.co/uploads/UE4_Editor_Linux_Mint.jpg

Where to from Here:
So I am not sure what to try next and desperately need some help. I know Linux pretty well and I have been using it since 1997, so it is not a lack of Linux knowledge that is catching me out. Please can someone point me out to a possible solution or series of tutorials or series of steps or just generally some tips to look at. There is so much conflicting information that I feel like I am chasing my tail … if I get it to work, I will document my steps and return it to the community in the form of a wiki page.

I have tried everything I can think of … I hope someone can help.

Thanks in advance.

I think I followed the right steps for Packaging a Client/Server using the Toolchain … but the packaging would always fail. I have tried to find my error logs on a backup drive … but I seem to have misplaced them.

I guess my new question is.

Compiling For Linux

If I follow this tutorial, will I end up with a packaged game client for Linux as well as the Dedicated Server and Game Client executable for Linux?

I guess I am just a little fuzzy on the whole thing.

Firstly I tried to package and build on Windows using Clang … I was unable to get it working.

Could you elaborate what did not work? If you are packaging a client/server for distribution, using cross-toolchain is preferred as you will get a binary that will run on any reasonably recent distribution. When you build the game natively using compiler and glibc installed on your system there are no such guarantees.

This is the error I get when I attempt to package the project for Linux on Windows by following this tutorial: Compiling For Linux

Full PasteBin is here: http://pastebin.com/u2DbsmcJ

This is the error:

MainFrameActions: Packaging (Linux): UnrealBuildTool: [5/169] Compile KaboomArena.h
MainFrameActions: Packaging (Linux): UnrealBuildTool: C:\Development\Gobbo Games\Kaboom Arena\KaboomArena\Intermediate\Build\Linux\x86_64-unknown-linux-gnu\KaboomArena\Shipping\KaboomArena\KaboomArena.h(4,10) :  fatal error: UTF-16 (LE) byte order mark detected in 'C:\Development\Gobbo Games\Kaboom Arena\KaboomArena\Source\KaboomArena\KaboomArena.h', but encoding is not supported
MainFrameActions: Packaging (Linux): UnrealBuildTool: #include "C:\Development\Gobbo Games\Kaboom Arena\KaboomArena\Source\KaboomArena\KaboomArena.h"
MainFrameActions: Packaging (Linux): UnrealBuildTool:          ^
MainFrameActions: Packaging (Linux): UnrealBuildTool: 1 error generated.

Make sure that KaboomArena.h is saved without UTF-16 characters in it (most likely you put a comment or something) - e.g. open it in notepad and resave as ASCII file.

I didn’t put a comment in it … it is the standard file that was generated for me … doing that seems to have resolved the error.

Thanks

You’re welcome!