I’m using Eclipse to build a Java project or two. Several use Opengl 3d graphics via jogamp, which has native libraries (dll/so/etc) that seem to link at runtime OK.
I tried to add JInput for joystick support. I figure copy the jogamp stuff, change the relevant bits, and it should work. oh, how wrong I was. At run time the unit test JInputTest fails because the native libraries can’t be found.
Do you have any idea what I’ve done wrong? My project is here: GitHub - MarginallyClever/Robot-Overlord-App: Simulation and control software for robots . I’m trying to make sure it will work both in development and in release.
Thank you!
Arrgh
March 27, 2019, 9:45pm
2
mvn install
complains about org.kabeja:kabeja:jar:0.4
… it should presumably be in local-maven-repo
but that’s empty. Is there a submodule?
Arrgh
March 27, 2019, 10:03pm
3
I grabbed the Makelangelo-software
and symlinked its local repo into the other project, moving along…
1 Like
Arrgh
March 27, 2019, 10:04pm
4
OK, it builds (on Fedora 29 bare metal AMD64), how do I know if it works?
Arrgh
March 27, 2019, 10:06pm
5
I ran the main jar (with-dependencies) and the UI seemed to work OK, it didn’t log anything.
1 Like
JInputTest should enumerate devices to System.out. if it fails to link you should see a java.lang.UnsatisfiedLinkError.
Arrgh
March 27, 2019, 10:25pm
7
I tried to build master and it’s having trouble with createKeyframe and renderInterpolation, maybe I caught you mid-refactor
There are many non-compiling classes. They are not relevant. Eclipse seems to let me continue regardless.
I really appreciate that you take time out to look at this for me. Thank you!
system
Closed
March 27, 2020, 10:33pm
11
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.