Login  Register

Re: Can't Initialize!

Posted by Michael Bien on Jan 14, 2011; 7:58pm
URL: https://forum.jogamp.org/Can-t-Initialize-tp2112742p2258029.html

Hi Francois,

a few remarks:
1. don't load any library explicitly, in fact thats what GLProfile.initSingleton or any other call into the api does
2. take a look at http://jogamp.org/jogl/doc/deployment/JOGL-DEPLOYMENT.html
some libs are optional... so it all depends what parts you want to use

hope that helps,

michael

On 01/14/2011 08:41 PM, François Coupal [via jogamp] wrote:
Just to clarify, I currently have the following libraries in my build path (in Eclipse)
jogl_desktop
jogl_es1
jogl_es2
nativewindow_awt
nativewindow_x11

They all have the "lib*.so" wrappers, as I am on Linux (i386). Is there any more that are required to launch JOGL? My sample code is this:

import javax.media.opengl.GLProfile;
public class testJOGL2 {
        public static void main(String[] args) {
                System.loadLibrary("jogl_desktop");
                System.loadLibrary("jogl_es1");
                System.loadLibrary("jogl_es2");
                GLProfile.initSingleton(true);
        }
}


View message @ http://jogamp.762907.n3.nabble.com/Can-t-Initialize-tp2112742p2257924.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.

-- 
http://michael-bien.com/