JOGL version ? gl.glGetDoublev(int, double[]);

Hi,
I am new to JOGL. I am trying to compile and run the code JCanyon. I cannot compile my project without error because some of the function are not existing in the JOGL.jar:
example:
gl.glGetDoublev(int, double[]); does not exist, only gl.glGetDoublev(int, DoubleBuffer); from the class GL.class
I tried several version of the JOGL.jar but never found the function with the specific argument (int,double[])
any idea ?
thanks

JCanyon compiles cleanly against JOGL 1.1.1 available in the Documents & Files section of the JOGL home page under “2005 Release Builds”. It hasn’t yet been updated for the JSR-231 beta or nightly builds.

Great now I can compile. Here is my main method :
//Main method
public static void main(String[] args) {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
}
catch (Exception e) {
e.printStackTrace();
}

DBFlyer flyer = new DBFlyer(true, true, true, "E:/Yannick/tempJCanyon", 640, 480);
try {
  flyer.run();
}
catch (Exception ex) {
  flyer=flyer;
}

}

A dialog appear in order to choose the “Display modes”, I select 32 bits 640*480, 60 HZ and press ok

The screen become white and nothing happen, would you have any idea why ?

Thanks so much for your support

Does the unmodified demo work on your system? What happens if you click “cancel” instead of “ok” on the screen resolution dialog box, forcing the demo to windowed mode? Are you specifying -Dsun.java2d.noddraw=true (required for all JOGL applications on Windows)?

The demo is working perfectly. I am using JBuilderX to compile the project and execute it. I am not sure how to specify “-Dsun.java2d.noddraw=true”. When I press cancel on the dialog “display modes” and obtain this error:

java.lang.UnsatisfiedLinkError: dispatch_gluOrtho2D

at net.java.games.jogl.impl.GLUImpl.dispatch_gluOrtho2D(Native Method)

at net.java.games.jogl.impl.GLUImpl.gluOrtho2D(GLUImpl.java:381)

at terrain.LoadingScreen.draw(LoadingScreen.java:59)

at terrain.DBFlyer$Listener.display(DBFlyer.java:426)

at net.java.games.jogl.impl.GLDrawableHelper.display(GLDrawableHelper.java:74)

at net.java.games.jogl.GLCanvas$DisplayAction.run(GLCanvas.java:198)

at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:268)

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.Animator$1.run(Animator.java:104)

at java.lang.Thread.run(Unknown Source)

I think you dropped an old jogl.dll / libjogl.so into your JRE. Don’t do that because it causes conflicts with Java Web Start and other applications. Instead put the JOGL native libraries and jar files into a separate directory and point to them using the CLASSPATH and PATH/LD_LIBRARY_PATH/DYLD_LIBRARY_PATH environment variables.