Windows cross compiling for Linux

I tried to cross compile my project on Windows 10 for the Ubuntu executable file.
I used the packaging tool in my UE5 to do this.

However, when I moved the packaged project to Ubuntu for execution, I got the following error:

CommonUnixCrashHandler: Signal=11
Failed to find symbol file, expected location:
[2022.05.30-12.14.12:104][ 0]LogCore: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to read memory at address 0x0000000000000010

[2022.05.30-12.14.12:104][ 0]LogCore: Fatal error!

0x0000000008628c8d UnrealGame!UnknownFunction(0x8428c8c)
0x0000000008626a1b UnrealGame!UnknownFunction(0x8426a1a)
0x0000000008626747 UnrealGame!UnknownFunction(0x8426746)
0x000000000873246e UnrealGame!UnknownFunction(0x853246d)
0x0000000003921a04 UnrealGame!UnknownFunction(0x3721a03)
0x0000000003919d5c UnrealGame!UnknownFunction(0x3719d5b)
0x000000000ae0bad8 UnrealGame!UnknownFunction(0xac0bad7)
0x000000000390c2a9 UnrealGame!UnknownFunction(0x370c2a8)

I’m going crazy. Please help me!

I *think that with Linux it’s not so simple. It may be in regards to a missing .dll. I don’t think you can package for Linux straight out of the box as it requires some setup and additional stuff. There is some documentation on this somewhere on epics site. Tried it myself and didn’t have the time to work through it. I know that doesn’t help much, but I don’t think it’ll work out right without jumping through the hoops to set it up correctly.

1 Like