0
\$\begingroup\$

I have just completed these instructions to build and run UE4Editor for Linux.

I created a new C++ project and in the editor I hit the Launch button and after a while it compiled and ran successfully.

If I close down UE4Editor and cd to MyTestProject/Binaries/Linux/ there is a MyTestProject executable, but if I try to run that from the shell I get

error while loading shared libraries: libApexCommonPROFILE.so: cannot open shared object file: No such file or directory

How do I set up the program so that it can be run standalone, not from within the editor?

\$\endgroup\$
2
  • \$\begingroup\$ If you want to launch cooked standalone game you should Package the game. File -> PackageGame->Linux. \$\endgroup\$ Jul 7, 2019 at 10:15
  • \$\begingroup\$ I have the same problem. I used the package game option, does not make a difference. Did you find a locution yet? \$\endgroup\$
    – Henk
    Sep 26, 2019 at 14:57

1 Answer 1

0
\$\begingroup\$

your game needs to be packaged in order to launch on its own, this way all the libraries and files are copied together.

You can do this by clicking on "File" than select "Package Game", select the platform you want to build for, in your case Linux, and select the output location.

After this the game will appear in the location you specified.

P.S. don't forget to assign to your new fancy game a cool icon in Settings, Platform -> Linux ;)

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .