Login  Register

Re: Can't Initialize!

Posted by Wade Walker on Jan 14, 2011; 8:21pm
URL: https://forum.jogamp.org/Can-t-Initialize-tp2112742p2258121.html

I forgot to mention, you should follow Michael's advice too  Don't try to load the libraries like you're doing, that's handled for you automatically. Here are some simple example programs that show how to use JOGL with various windowing systems:

AWT: https://github.com/sgothel/jogl/blob/master/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/gears/TestGearsAWT.java

AWT with GLJPanel: https://github.com/sgothel/jogl/blob/master/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/gears/TestGearsGLJPanelAWT.java

SWT: http://jogamp.762907.n3.nabble.com/Render-problems-for-custom-context-menu-in-OpenGL-SWT-td2255271.html#a2256353

-w