JSBSim-Team / jsbsim

An open source flight dynamics & control software library
GNU Lesser General Public License v2.1
1.22k stars 420 forks source link

Building for Unreal 5 on Linux not working #963

Closed RomanBapst closed 5 months ago

RomanBapst commented 7 months ago

I'm submitting a ...

Describe the issue I tried to build an run JSBSim for Unreal 5.3.0 on Ubuntu 20.04. When launching UnrealEditor it complained about libJSBSim.so not being found. I saw on a recent PR that support for Linux might not quite be there and that there supposedly are some linking issues.

In my case I was able to resolve the issue by adding the path to libJSBSim.so to LD_LIBRARY_PATH.

Just wanted to report this in case it's helpful.

RomanBapst commented 7 months ago

image (14)

bcoconni commented 7 months ago

Hi @RomanBapst, thanks for reporting the issue.

@demonixis could you please comment on this ?

demonixis commented 7 months ago

Do you compile it using clang? Can you share the logs please?

RomanBapst commented 7 months ago

@demonixis Yes, I was using clang. Do you need anything verbose turned on or just the standard logs?

demonixis commented 7 months ago

For a reason I don't understand, cmake produces 3 files

You've to copy those 3 files for Unreal to load properly. Renaming libJSBSim.so.1.2.dev1 into libJSBSim.so doesn't work. I'll update the README to reflect that.

demonixis commented 6 months ago

Hey, any news about this?

bcoconni commented 5 months ago

This issue is being closed because the issuer is not responding.