Summary: | JOGL should only try to load the native libraries supported by the operating system | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | Julien Gouesse <gouessej> |
Component: | core | Assignee: | Julien Gouesse <gouessej> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | gouessej, sgothel |
Priority: | --- | ||
Version: | 2 | ||
Hardware: | All | ||
OS: | all | ||
Type: | --- | SCM Refs: |
gluegen c0ead6fa10280f8076704726d59f482b183fd77e
jogl 14eab8af439e6e7ce7ee08a9ca13fec3f3a80d25
|
Workaround: | --- |
Description
Julien Gouesse
2013-08-06 10:57:34 CEST
Shouldn't we add "-android" here? https://github.com/sgothel/jogl/blob/master/src/nativewindow/classes/jogamp/nativewindow/NWJNILibLoader.java#L49 I have to modify these lines too: https://github.com/sgothel/jogl/blob/master/src/newt/classes/jogamp/newt/NEWTJNILibLoader.java#L62 https://github.com/sgothel/jogl/blob/master/src/jogl/classes/javax/media/opengl/GLProfile.java#L155 It would be nice if someone could test with Android: http://forum.jogamp.org/Recreating-Jogl2-Android-demo-projects-in-Eclipse-td4027079.html First attempt of fix: https://github.com/gouessej/jogl/commit/617aa7ad3e39e1adaac6d099b4d23fee52cfed0c Thank you Julien! I took the freedom and moved the new method to GlueGen's JNILibLoaderBase class to solve JOGL's module dependency. Better API doc added as well, my old one was .. errr .. not so clear. Referencing you in commit log. |