I’ve followed all the ARM build suggestions to build UE4. Then with the blank example project in UE4 Editor, I packaged for Linux. So far so good. I replaced the libopenal.so.1 as instructed in Compiling for Linux
When I run the target application on the target device,
./myapp
I get the error message:
./myapp: error while loading shared libraries: ld-linux.so.3: cannot open shared object file: No such file or directory
Finding this file in the clang3.5 toolchain, I copy it to be in the path of the target application. Then running it, I get:
Segmentation fault
Any ideas on what I’m doing wrong? My target is running Yocto on a Boundary Devices nitrogen board. Thank you in advance.
If anyone has a known-working Linux ARM binary built by Unreal Engine that I could try on my target platform, it would at least prove that there is nothing wrong on the target side. Thanks.
Just compile a single program like BlankProgram or TestPAL and see if it starts (it may need config files, but the error will be different anyway). You can also compile a “hello world” program from just one main() function with the toolchain and see if it runs.
Well, using the cross compiler at a command line to generate a simple program is proving to be a rabbit trail in itself. I’m fairly confident that it would work anyway, questioning more about a simple program within UE4’s Editor. Any other ideas are welcome. Thanks.
Yes, I tried BlankProgram. It still gives me the Segmentation Fault. Not sure if there is a way to get more error information… At this point, I’m not sure if my Editor\cross compile is at fault, or something else on the target side. It seems like if I could narrow in on that, I’d know which direction to look. I did find it odd that it initially had the error about ld-linux.so.3 not found - something I hadn’t seen in any forums\wikis,etc. Maybe it is a clue…