Login  Register

JOGL Error in Eclipse on MacOSX

Posted by Ric Wright on Nov 03, 2010; 2:32pm
URL: https://forum.jogamp.org/JOGL-Error-in-Eclipse-on-MacOSX-tp1835239.html

I worked my way through Wade's excellent little tutorial:

 http://wadeawalker.wordpress.com/2010/10/24/tutorial-creating-native-binary-executables-for-multi-platform-java-apps-with-opengl-and-eclipse-rcp/

Which is nice because it avoids the heavyweight SWT_AWT bridge.  However, when I run the tutorial on Mac OSX 10.6, I get an error down in the bowels:

Could not create the view: drawable has invalid handle: com.jogamp.opengl.impl.macosx.cgl.MacOSXExternalCGLContext$Drawable[Realized true,
        Factory   com.jogamp.opengl.impl.macosx.cgl.awt.MacOSXAWTCGLDrawableFactory@1b778d0c,
        handle    0x0,
        Window    NullWindow[config class
etc.

This isn't due to Wade's tutorial code, I reproduced in a simple Eclipse view as well.  Anyone else seen anything like this?

TIA, Ric