I am new with JOGL.
We are looking at it to see if we will migrate our 3D viewer (commercial software) from J3D to JOGL The first think to do is to see if we can compile it!
For now, it doesn’t work.
This is what I get:
[javac] /datalinux/project/jogl/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java:194: cannot resolve symbol
[javac] symbol : variable GLX_DEPTH_SIZE
[javac] location: class net.java.games.jogl.impl.x11.GLX
[javac] System.err.println("depth: " + queryFBConfig(display, fbConfig, GLX.GLX_DEPTH_SIZE));
[javac] ^
[javac] /datalinux/project/jogl/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java:195: cannot resolve symbol
[javac] symbol : variable GLX_DOUBLEBUFFER
[javac] location: class net.java.games.jogl.impl.x11.GLX
[javac] System.err.println("double buffered: " + queryFBConfig(display, fbConfig, GLX.GLX_DOUBLEBUFFER));
[javac] ^
[javac] /datalinux/project/jogl/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java:222: cannot resolve symbol
[javac] symbol : method glXQueryDrawable (long,int,int,int[])
[javac] location: class net.java.games.jogl.impl.x11.GLX
[javac] GLX.glXQueryDrawable(display, (int) buffer, GL.GLX_WIDTH, tmp);
[javac] ^
[javac] /datalinux/project/jogl/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java:224: cannot resolve symbol
[javac] symbol : method glXQueryDrawable (long,int,int,int[])
[javac] location: class net.java.games.jogl.impl.x11.GLX
[javac] GLX.glXQueryDrawable(display, (int) buffer, GL.GLX_HEIGHT, tmp);
[javac] ^
[javac] /datalinux/project/jogl/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java:252: cannot resolve symbol
[javac] symbol : method glXMakeContextCurrent (long,int,int,long)
[javac] location: class net.java.games.jogl.impl.x11.GLX
[javac] if (!GLX.glXMakeContextCurrent(display, (int) buffer, (int) buffer, context)) {
[javac] ^
[javac] /datalinux/project/jogl/src/net/java/games/jogl/impl/x11/X11PbufferGLContext.java:269: cannot resolve symbol
[javac] symbol : method glXMakeContextCurrent (long,int,int,int)
[javac] location: class net.java.games.jogl.impl.x11.GLX
[javac] if (!GLX.glXMakeContextCurrent(display, 0, 0, 0)) {
[javac] ^
[javac] Note: /datalinux/project/jogl/src/net/java/games/jogl/GLCanvas.java uses or overrides a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 86 errors
BUILD FAILED
/datalinux/project/jogl/make/build.xml:1094: Following error occured while executing this line
/datalinux/project/jogl/make/build.xml:714: Compile failed; see the compiler error output for details.
Total time: 11 seconds
…
With Ant 1.60/Antlr 2.7.2
But I notice that some static variable are missing in GLX.java…
I guess it it not normal.
Please…
Can somebody tell me what is it wrong