Login  Register

Jar reference

Posted by Dario on Sep 18, 2011; 11:49am
URL: https://forum.jogamp.org/Jar-reference-tp3346099.html

Is there, somewhere on this website, a reference about the jars needed for the examples? or to set up a minimal boiler plate code for a application (like minimal fo opengl, opengl es, and so on)? If there is not, it would be helpful, like a getting started tutorial...

In particular I wrote this simple test:

        public static void main(String[] args) {
                // TODO Auto-generated method stub

               
                GLProfile glProfile = GLProfile.getDefault();
                GLCapabilities caps = new GLCapabilities(glProfile);
               
                GLCanvas canvas = new GLCanvas(caps);
                JFrame frame = new JFrame();
                frame.setSize(400, 400);
                frame.getContentPane().add(canvas);
                frame.pack();
                frame.setVisible(true);
        }

wich is pretty basic.... and I linked againts the jogamp-windows-i586 distribution (downloaded 16-9-2011). In particular I put the following jars in my eclipse build path for my project:

gluegen-rt.jar, gluegen.jar, jogl-all-natives-windows-i586.jar, jogl-all.jar, newt-event.jar

and it dies with:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no gluegen-rt in java.library.path

but I included it... so what's wrong?