-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Can't load library: /home/pi/src/Firmware/Tools/jMAVSim/out/production/libgluegen-rt.so" #90
Comments
I have the same error on a Raspberry Pi with Raspbian stretch. |
Also having this same error when running |
@efischer91 have you managed to resolve this? I am experiencing the same issue on Ubuntu 18.04 on a Jetson Nano |
Unfortunately no. |
I have the same error... |
hey guys ! I find the solution !!! |
I did exactly as your way, but I got another problem. The error is changed from 'Can't load library' to 'invalid ELF header'. |
I am building jMAVSim for linux/aarch64. I was able to get past most of the libgluegen_rt issues by downloading the aarch64 jar files from the following location: https://jogamp.org/deployment/archive/rc/v2.4.0/jar/ However, while it gets past the initial error indicating that it can't find libraries, with a different one as follows:
The .so files are there... and I can see them copied during the build, however, I still get the error. I am hoping this is just a classpath issue, but I am not sure what the next step would be to fix this. |
Update on the above, the aarch64 jar files are there... but I don't see the .so files in the |
Another update... after copying the right jar files from the
and here:
after the above updates, run a |
Hey @cryptik, I followed your steps above (I'm also using px4) by doing:
However, I then run in to a separate error:
Did you (or anyone else for that matter) encounter this |
As info, if anyone else runs into the above error, I resolved it by doing:
according to here: https://groups.google.com/g/jaamsim-users/c/tJW48U0Vi9k?pli=1 There's probably a way to fix it with a driver update or something similar that will allow us to leverage hardware, but for now this works. If I find another solution I will update. |
Actually, updating the following jar's resolve the issue correctly:
|
Download the latest build versions of ·gluegen, joal, and jogl and replace them.
Unzip these three compressed files,
Now you should be able to run it without any issues. |
Thanks above @ ALL In addition to the steps of @1qingfeng-1. Since my ubuntu run on the CPU of the Mac M series, there are the following changes Used in
The corresponding resources are as follows:
|
It did work for me. |
I followed these instructions:
https://github.com/PX4/jMAVSim/blob/master/README.md
On running it with
java -djava.ext.dirs= -jar jmavsim_run.jar
I get the following error:
The text was updated successfully, but these errors were encountered: