4.8 Project build errors

link text

Trying to get my project running on linux. The build works on windows. However when building on linux i get a pile of errors.

Is the 4.8 build currently working on linux?

This is the command im using to build:

/home/linux/UnrealEngine/4.8/Engine/Build/BatchFiles/RunUAT.sh BuildCookRun -build -nocompile -nop4 -project=“/home/linux/Projects/DogFight/DogFight.uproject” -cook -compressed -allmaps -stage -archive -archivedirectory=“/home/linux/Projects/DogFight/Build/LinuxNoEditor/” -package -LinuxNoEditor -clientconfig=Development -ue4exe=UE4Editor -clean -pak -targetplatform=Linux -utf8output

Could you try packaging a blank C++ project? The fact that you could build UHT (Unreal Header Tool) but not the project itself is baffling.

By the way, if you need to just package a project, doing this on Windows (using Linux cross-toolchain) is better - it will produce a binary that works against glibc 2.12. If you package on Linux natively, you will likely produce a binary that will only run on distributions that have glibc version no earlier than your own.

Yep, built the default puzzle c++ project, and that took a while, but it works without errors!

Ive tried using the toolchain on windows, had no luck with it. And need a working linux build anyway as thats one of my dev machines.

Try non-unity build of your project. You are probably including headers in the wrong order or omit some header.

Regardless of the success of the build, I strongly suggest do a final packaging on Windows due to abovementioned glibc compatibility. In the future we will provide similarly stable Linux toolchain that will be independent from the rest of system.

How do I do a non-unity build?

Is that via editing the file as per this site?
https://docs.unrealengine.com/latest/INT/Programming/UnrealBuildSystem/Configuration/index.html

I ran the game using gdb, and it gave me some different errors in my code which i fixed up, and now its working!

:slight_smile:

Thanks for the help