[Closed] Cooking on linux
Hi, I am trying to build the starter 3d person c++ project on linux. Compiling the engine (4.5 branch) all worked out, but when I try to run the UAT script as described at https://wiki.unrealengine.com/Cooking_On_Linux as follows from the root of UnrealEngine
I get the following error, it looks like it is trying to find my game in the engine binaries folder..
Does anyone know what exactly is going wrong?
asked Nov 08 '14 at 05:07 PM in Linux
The question has been closed Jan 22 '15 at 04:00 PM by amigo for the following reason:
The question is answered, right answer was accepted
The process in epic/master branch would be that you put your project (myProjectFolder) into the UE4 top folder, beside Engine/, Templates/ and Samples/ folders.
Then run ./GenerateProjectFIles.sh and it should add your project to the Makefile.
After that you will have target(s) for your project (verify by just typing: "make " with a space after it, press key then yes when prompted to display all possibilities. You should see your project's targets listed.
From there you: make myprojecttarget
If it doesn't find your project you might need to edit the file UE4Games.uprojectdirs and add your project to the bottom of the list, like so: myProjectFolder/ or whatever is the path where the .uproject file is located.
answered Nov 09 '14 at 11:07 PM
Before going anywhere further, please try putting your project folder inside engine's top level folder. We've noticed that building c++ projects works when that's done.
Also, it is possible that something got broken with cooking meanwhile. When I wrote the Wiki page, it was in my 4.4-linux branch and I haven't had a chance to revisit cooking in 4.5+. If I find a few moments I'll give it a try this weekend again on a newer branch.
Lastly, there's no reason to give UE4 elevated privileges in Linux, nor in general you should never run as a root user all the time.
answered Nov 08 '14 at 06:55 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here