building with 1.5 support

I’ve followed the steps as illustrated in the thread:

http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=jogl;action=display;num=1074276422;start=15

but i am getting several compile errors (any ideas):

java.generate.cg.check:

java.generate.cg:

java.compile:
[javac] Compiling 93 source files to C:\java\jogl_src\jogl\build\classes
[javac] C:\java\jogl_src\jogl\src\net\java\games\jogl\impl\windows\WindowsPb
ufferGLContext.java:341: cannot resolve symbol
[javac] symbol : variable GL_TEXTURE_RECTANGLE_NV
[javac] location: interface net.java.games.jogl.GL
[javac] textureTarget = GL.GL_TEXTURE_RECTANGLE_NV;
[javac] ^
[javac] C:\java\jogl_src\jogl\build\gensrc\classes\net\java\games\jogl\impl
windows\WindowsGLImpl.java:2194: cannot resolve symbol
[javac] symbol : variable _addressof_glMapBufferARB
[javac] location: class net.java.games.jogl.impl.windows.GLProcAddressTable
[javac] final long _addr = _context.getGLProcAddressTable()._addressof
_glMapBufferARB;
[javac] ^
[javac] C:\java\jogl_src\jogl\build\gensrc\classes\net\java\games\jogl\impl
windows\WindowsGLImpl.java:2199: cannot resolve symbol
[javac] symbol : variable GL_BUFFER_SIZE_ARB
[javac] location: class net.java.games.jogl.impl.windows.WindowsGLImpl
[javac] glGetBufferParameterivARB(target, GL_BUFFER_SIZE_ARB, sz);
[javac] ^
[javac] C:\java\jogl_src\jogl\build\gensrc\classes\net\java\games\jogl\impl
windows\WindowsGLImpl.java:2224: cannot resolve symbol
[javac] symbol : variable _addressof_glShaderSourceARB
[javac] location: class net.java.games.jogl.impl.windows.GLProcAddressTable
[javac] final long _addr = _context.getGLProcAddressTable()._address
of_glShaderSourceARB;
[javac] ^
[javac] Note: C:\java\jogl_src\jogl\src\net\java\games\jogl\GLCanvas.java us
es or overrides a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 4 errors

BUILD FAILED
file:C:/java/jogl_src/jogl/make/build.xml:711: Compile failed; see the compiler
error output for details.

Total time: 1 minute 13 seconds

Should these be ignored in the gl-common.cfg file?

Ignore (GL|GLU|GLX|WGL|AGL|CGL)EXT.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)ARB.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)PGI.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)SGI.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)SGIS.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)SGIX.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)MESA.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)HP.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)ATI.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)NV.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)IBM.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)WIN.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)REND.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)APPLE.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)INTEL.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)INGR.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)SUN.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)SUNX.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)3DFX.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)OML.+
Ignore (GL|GLU|GLX|WGL|AGL|CGL)I3D.+

it seams that it can find the static final defines for the extension because they are being ignored from the glext.h

shouldnt these be enabled to get the build to work that support extensions? THere disabled with a clean checkout and the static final’s are there for all the extensions, but when i switch to the new glext.h all the static finals for the extensions disappear (well most of them, for instance there are no NV_ extensions there). Is something screwy with the glext.h that i’m using, or is the make having difficultes parsing this new glext.h? I got it from the sgi extension registry. I did a file compare with the one that was checked out and there are some differences. I also made the changes to it as discribed in from the other thread. thanks for any help

When I tried to get sgi’s glext.h to run, I noticed that the Gluegen (or antlr?), just ignores some #defines in the header (as mentioned in the other thread for example APIENTRYP).
Take a look at the gluegen-output and look whether it tells you something about ignored stuff.

Jan

thx for the reply, I dont see any wierd or different out put with the sgi header which says about ignoring any of the defines. I also tried copying the function prototypes and macros for the “ARB_GLSL” extensions into the glext.h that was checked out with the latest version of jogl. The defines would show up but the functions would be missing. Thx