I am using GIT version of Unreal Engine 4.19, which I compile with VS2017. The editor compiles fine and I can work with it. I have installed Cross-Compiling for Linux and Linux option is available under solution platforms. The project compiles trough VS2017 for Linux *.so files are created for project named “Simple Test”. The project also compiles for Win64. After successful build I packaged project twice for Linux (Shipping and Development build configuration). When I move my packaged project to the Linux running Ubuntu 16.04 LTS I always get an error:
~/Packaged/LinuxNoEditor$ ./SimpleTest.sh
…/Packaged/LinuxNoEditor/SimpleTest/Binaries/Linux/SimpleTest-Linux-Shipping: error while loading shared libraries: libcef.so: cannot open shared object file: No such file or directory
the last few days I spent all my time figuring out on how to use Unreal Engine on Linux. I learned many interesting things. I also figured out why packed projects were not working on Linux, either the same project was built on Windows via cross compiling trough VS2017 or trough CodeLite on native Linux.
I always got that annoying error “…error while loading shared libraries: libcef.so: cannot open shared object file: No such file or directory****”.
So I went to search which of 170 plugins need Chromium Embedded Framework (libcef). When I saw which plugins were responsible (FB plugin, etc) I simply removed them from the project since I don’t need some of them “yet”.
After I repacked project (shipping) on Windows via VS2017 and moved it to Ubuntu 17.10, where it runs flawlessly.
I did the same on my Linux development machine where I packed the same project (shipping) via CodeLite and UE4 editor, also it runs flawlessly.
I hope that Unreal Engine engineers will include newer version of CEF, that is working with 4.19 packed plugins which require embedded browser or other CEF functions.
This is what I figured out so far. Now I will focus on Mac building and testing of my project. Hopefully this will help someone.