Moving a c++ project from Mac to Linux

I’ve got a working c++ project on Mac. I would like to move this project to a Linux machine to package a linux standalone server.

How do I generate the necessary project files in linux (makefiles or anyway the equivalent of the Xcode project) (possibly using only command line scripts and not the GUI)?

Hi

Do you want to build the UE4 Editor on linux?

Not necessarily. I just want to package a linux standalone server for my project, but just copying the c++ project from mac to linux doesn’t seem to work.

I can build the UE4 Editor on linux if I want, but on this specific machine I’m facing several issues with the graphic card (which is rather old), so I’d prefer to build the server using only command line tools.

Hi

Run the ./Setup.sh first then the ./GenerateProjectfiles.sh script. After that you can build the editor, server etc with make. For example

**make UE4Editor ShaderCompileWorker UnrealPak UnrealLightmass UnrealFrontend UE4Server UE4Game **

The line above will build almost everything. Look into the make file too see which targets are supported

I don’t want to build the editor, I want to package a standalone server through commands like these:

To package on Linux you have to compile the unrealpak, server etc anyway. Use UnrealFrontend with that you can package, cook, deploy whatever you want.