Hi all,
Just wanted to say hi and share some additional information needed to successfully compile unreal editor 4.22.
I understand my setup may be a little different than other people’s setup, but I think it might be a general concern.
Firstly, as per the video in the course on compiling for Linux (section 1, lecture 6) we can shorten the the three commands needed to compile and install into one as
./Setup.sh && ./GenerateProjectFiles.sh && make
Now, the installation isn’t completely autonomous. At some point during this process the installer will ask if you want to make the file associations for UE Editor before moving on. This is the only needed input for the installation after the above command.
I’m not sure if there’s a way to automate this as well, so if anyone knows, please feel free to share.
Finally, on my system when the editor was done installing and when I tried to start a new empty c++ project in unreal it crashed with one helpful error line among hundreds:
Tried to call “net usershare info” …
stating that it needed the net program in Linux.
If you search the base packages available for Ubuntu you will find this is part of the package samba-common if I remember correctly.
You can find the exact package needed by trying to run the net command on your system if you don’t have it.
===== DANGER =====
==== TRY AT YOUR OWN RISK ====
If for any reason you need to pause the compilation or installation process, you can do so according to this article https://www.ostechnix.com/suspend-process-resume-later-linux/
But, be ware. This is dangerous if you don’t know what you are doing, and can end up breaking and corrupting not only the compile and installation process, but also possibly your system.
So only go forward if you absolutely must and know what’s what.
I tried to pause the make process and resume it. Both worked. But only once.
Subsequent requests to pause the process were either ignored by the system or denied by the process. I don’t know.
Kind of reminds me of that part from Hitchhiker’s Guide to The Galaxy where Arthur Dent tries to press a mysterious button on the Heart of Gold and the ship’s computer politely informs him not to press that button again.
Heh.
=======================================
Hope this is helpful for Ubuntu 18.04 users out there.
Sincerely,
StackMatch