FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 745 : UnsatisfiedLinkError: CreatePixelFormat
Last modified: 2009-10-21 11:00
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
DUPLICATE of bug
1259
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
douglas edric stanley
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2008-03-15 10:40
I'm a bit lost on this one. I can't seem to use JOGL anymore from within Processing. Here's the error:
java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: createPixelFormat1
at processing.opengl.PGraphicsOpenGL.requestDisplay(PGraphicsOpenGL.java:172)
at processing.core.PApplet.run(PApplet.java:1562)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.UnsatisfiedLinkError: createPixelFormat1
at com.sun.opengl.impl.macosx.CGL.createPixelFormat1(Native Method)
at com.sun.opengl.impl.macosx.CGL.createPixelFormat(CGL.java:357)
at com.sun.opengl.impl.macosx.MacOSXGLContext.create(MacOSXGLContext.java:131)
at com.sun.opengl.impl.macosx.MacOSXOnscreenGLContext.create(MacOSXOnscreenGLContext.java:120)
at com.sun.opengl.impl.macosx.MacOSXGLContext.makeCurrentImpl(MacOSXGLContext.java:237)
at com.sun.opengl.impl.macosx.MacOSXOnscreenGLContext.makeCurrentImpl(MacOSXOnscreenGLContext.java:66)
at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:305)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: createPixelFormat1
at processing.opengl.PGraphicsOpenGL.requestDisplay(PGraphicsOpenGL.java:172)
at processing.core.PApplet.run(PApplet.java:1562)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.UnsatisfiedLinkError: createPixelFormat1
at com.sun.opengl.impl.macosx.CGL.createPixelFormat1(Native Method)
at com.sun.opengl.impl.macosx.CGL.createPixelFormat(CGL.java:357)
at com.sun.opengl.impl.macosx.MacOSXGLContext.create(MacOSXGLContext.java:131)
at com.sun.opengl.impl.macosx.MacOSXOnscreenGLContext.create(MacOSXOnscreenGLContext.java:120)
at com.sun.opengl.impl.macosx.MacOSXGLContext.makeCurrentImpl(MacOSXGLContext.java:237)
at com.sun.opengl.impl.macosx.MacOSXOnscreenGLContext.makeCurrentImpl(MacOSXOnscreenGLContext.java:66)
at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:305)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Attempt to make the same context current twice on thread Thread[AWT-
EventQueue-0,6,main]
at com.sun.opengl.impl.GLContextLock.lock(GLContextLock.java:83)
at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:131)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:265)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:130)
at javax.media.opengl.GLCanvas.paint(GLCanvas.java:142)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:276)
at sun.awt.RepaintArea.paint(RepaintArea.java:241)
at apple.awt.ComponentModel.handleEvent(ComponentModel.java:268)
at java.awt.Component.dispatchEventImpl(Component.java:4144)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Additional Comment
#1 From fry 2008-03-15 10:58
look for another copy of jogl elsewhere in your classpath, or buried in
your sketchbook.
in a blank sketch, use:
println(split(System.getProperty("java.class.path"), ':'));
and see what mess you might find there (there will be way too many entries
here, that's a bug being fixed for 0136, but it'll help you at least track
down part of the issue).
Additional Comment
#2 From douglas edric stanley 2008-03-23 02:15
Yes. Found it. Thanks. Indeed, I had accidentally put the Processing-source folder near the file
and it was linking to it's libraries, then got lost.
Additional Comment
#3 From fry 2009-10-21 11:00
*** This bug has been marked as a duplicate of
1259
***