Hi all!
Can you help to novice in Jogl?
I was trying to compile end run such code:
import net.java.games.jogl.*;
import java.awt.*;
public class StartApp {
public static void main (String args[]) {
try {
Frame window = new Frame("Jogl Demo 1");
GLCapabilities capab = new GLCapabilities();
GLCanvas context = GLDrawableFactory.getFactory().createGLCanvas(capab);
window.add(context);
window.setSize(300, 300);
window.addWindowListener(new java.awt.event.WindowAdapter()
{
public void windowClosing(java.awt.event.WindowEvent e)
{
System.exit(0);
}
});
window.setVisible(true);
} catch (Exception e) {
System.out.println(e);
}
}
}
and get an error:
java.lang.UnsatisfiedLinkError: CreateDummyWindow
at net.java.games.jogl.impl.windows.WGL.CreateDummyWindow(Native Method)
at net.java.games.jogl.impl.windows.WindowsGLContextFactory$NativeWindowThread.run(WindowsGLContextFactory.java:266)
Please tell me what is wrong?
I had installed Jogl exactly as described in tutorials, JDK 1.4.2, WinXP, NetBeans 3.6.
So what's wrong?


