Can't get opengl to work - eclipse
in
Integration and Hardware
•
2 years ago
- Exception in thread "Animation Thread" javax.media.opengl.GLException: Can not destroy context while it is current
at com.sun.opengl.impl.GLContextImpl.destroy(GLContextImpl.java:176)
at processing.opengl.PGraphicsOpenGL.allocate(Unknown Source)
at processing.core.PGraphics3D.setSize(Unknown Source)
at processing.core.PApplet.resizeRenderer(Unknown Source)
at processing.core.PApplet.size(Unknown Source)
at processing.core.PApplet.size(Unknown Source)
at Setup.setup(Setup.java:32)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I added al 3 jars to the lib folder,
gluegen-rt.jar
jogl.jar
opengl.jar
Added them to the build path, added the other files to the libNative.
For each jar i setted the native library location.
what is left?
here's a screen:
[img] http://img204.imageshack.us/img204/6541/opengl.png[/img]
1