I get this error when I execute my simple jogl code:
java.lang.UnsatisfiedLinkError: dispatch_wglGetExtensionsStringARB
at net.java.games.jogl.impl.windows.WindowsGLImpl.dispatch_wglGetExtensions StringARB(Native Method)
at net.java.games.jogl.impl.windows.WindowsGLImpl.wglGetExtensionsStringARB (WindowsGLImpl.java:33366)
at net.java.games.jogl.impl.windows.WindowsGLContextFactory$1.init(WindowsG LContextFactory.java:116)
at net.java.games.jogl.impl.GLDrawableHelper.init(GLDrawableHelper.java:6
at net.java.games.jogl.GLCanvas$InitAction.run(GLCanvas.java:191)
at net.java.games.jogl.impl.windows.WindowsGLContext.makeCurrent(WindowsGLC ontext.java:160)
at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.makeCurrent(Wi ndowsOnscreenGLContext.java:110)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:203)
at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:186)
at net.java.games.jogl.GLCanvas.display(GLCanvas.java:74)
at net.java.games.jogl.impl.windows.WindowsGLContextFactory.getDummyGLConte xt(WindowsGLContextFactory.java:145)
at net.java.games.jogl.impl.windows.WindowsGLContext.choosePixelFormatAndCr eateContext(WindowsGLContext.java:264)
at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.create(Windows OnscreenGLContext.java:204)
at net.java.games.jogl.impl.windows.WindowsGLContext.makeCurrent(WindowsGLC ontext.java:133)
at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.makeCurrent(Wi ndowsOnscreenGLContext.java:110)
at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:203)
at net.java.games.jogl.GLCanvas.reshape(GLCanvas.java:97)
at java.awt.Component.setBounds(Component.java:1664)
at java.awt.BorderLayout.layoutContainer(BorderLayout.java:691)
at java.awt.Container.layout(Container.java:1020)
at java.awt.Container.doLayout(Container.java:1010)
at java.awt.Container.validateTree(Container.java:1092)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validateTree(Container.java:1099)
at java.awt.Container.validate(Container.java:1067)
at java.awt.Window.show(Window.java:461)
at java.awt.Component.show(Component.java:1133)
at java.awt.Component.setVisible(Component.java:108
at JAVA3D.probeersel.main(probeersel.java:57)
I’m stuck on this error, even google can’t help me with this one. I don’t know where to find the solution…
error was generated with this code:
public class probeersel extends JFrame {
/** Creates a new instance of probeersel */
public probeersel() {
super(“JOGL-probeersel”);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
GLCapabilities caps = new GLCapabilities();
caps.setDoubleBuffered(true);
caps.setHardwareAccelerated(true);
GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(caps);
canvas.addGLEventListener(new tekening3D());
getContentPane().add(canvas, BorderLayout.CENTER);
setSize(800, 600);
}
when we make our JFrame visible, the error is given.
thanks in advance for any help!
geert