x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

Product Version: UE 4.8 Preview
Tags:
more ▼

asked May 24 '15 at 09:37 PM in Linux

avatar image

devel.bmad
439 43 49 65

avatar image Yaakuro May 25 '15 at 09:05 AM

Hi

Do you want to build the UE4 Editor on linux?

avatar image devel.bmad May 25 '15 at 09:10 AM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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

more ▼

answered May 27 '15 at 09:14 PM

avatar image

Yaakuro
314 13 7 19

avatar image devel.bmad May 27 '15 at 09:16 PM

I don't want to build the editor, I want to package a standalone server through commands like these: https://wiki.unrealengine.com/How_to_package_your_game_with_commands

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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.

more ▼

answered May 28 '15 at 12:24 AM

avatar image

Yaakuro
314 13 7 19

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question