# Moving a c++ project from Mac to Linux

**URL:** <https://forums.unrealengine.com/t/moving-a-c-project-from-mac-to-linux/319656>\
**Category:** Platform & Builds\
**Tags:** Server, Linux, MAC, unreal-engine, CPP, question\
**Created:** [May 24, 2015, 9:37pm UTC](https://forums.unrealengine.com/t/moving-a-c-project-from-mac-to-linux/319656 "2015-05-24T21:37:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_389e656c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_389e656c](https://forums.unrealengine.com/u/anonymous_user_389e656c)\
**Post date:** [May 24, 2015, 9:37pm UTC](https://forums.unrealengine.com/t/moving-a-c-project-from-mac-to-linux/319656/1 "2015-05-24T21:37:17Z")

</div>

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)?

---

<div class="post-metadata">

**Author:** ![Yaakuro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yaakuro/32/918670_2.png) [@Yaakuro](https://forums.unrealengine.com/u/Yaakuro)\
**Post date:** [May 25, 2015, 9:05am UTC](https://forums.unrealengine.com/t/moving-a-c-project-from-mac-to-linux/319656/2 "2015-05-25T09:05:01Z")

</div>

Hi

Do you want to build the UE4 Editor on linux?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_389e656c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_389e656c](https://forums.unrealengine.com/u/anonymous_user_389e656c)\
**Post date:** [May 25, 2015, 9:10am UTC](https://forums.unrealengine.com/t/moving-a-c-project-from-mac-to-linux/319656/3 "2015-05-25T09:10:14Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Yaakuro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yaakuro/32/918670_2.png) [@Yaakuro](https://forums.unrealengine.com/u/Yaakuro)\
**Post date:** [May 27, 2015, 9:14pm UTC](https://forums.unrealengine.com/t/moving-a-c-project-from-mac-to-linux/319656/4 "2015-05-27T21:14:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_389e656c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_389e656c](https://forums.unrealengine.com/u/anonymous_user_389e656c)\
**Post date:** [May 27, 2015, 9:16pm UTC](https://forums.unrealengine.com/t/moving-a-c-project-from-mac-to-linux/319656/5 "2015-05-27T21:16:52Z")

</div>

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

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

---

<div class="post-metadata">

**Author:** ![Yaakuro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yaakuro/32/918670_2.png) [@Yaakuro](https://forums.unrealengine.com/u/Yaakuro)\
**Post date:** [May 28, 2015, 12:24am UTC](https://forums.unrealengine.com/t/moving-a-c-project-from-mac-to-linux/319656/6 "2015-05-28T00:24:33Z")

</div>

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.
