CG support of JOGL 2.x -- jogl-demos?

I’m testing jogl-demos and happened to notice that all files relating to CG failed.

Then, I noticed that current nightly build of JOGL has only one file about CG, that is “com.sun.opengl.cg.CgException.java”

I looks like key words like “CGcontext,CGprogram” can only be found in some C++ header files “cg.h, cgGL.h”.

I know that it seems JOGL can build some meta .java files, by CDC technology (what’s essential in this technology???)

However, “CGcontext,CGprogram” are not in those meta .java files either.

I did install CG in WindowsXP and I think I correctly set the directory in jogl.properties like:

antlr.jar=C:/jiapei/javajars/antlr-3.1.3.jar
win32.c.compiler=vc9
windows.cg.lib=C:/Program Files/Nvidia Corporation/Cg/lib

So, can anybody give me a hint how can I obtain CG support? Or, JOGL gave up CG already?

Cheers
JIA

Windows … ? Well.
date/time … etc …
http://kenai.com/projects/jogl/pages/FAQ#Bugreports_&_Testing

might be related to the build system changes lately on Win32: MSVS -> MinGW

Sorry, I’ve no idea how to deal with what you suggested yet. but I got some compilation error directly from Eclipse Ant Debug, which shows that linker of the following code is wrong (this error happens in build-jogl.xml).

    <target name="c.build.jogl.gl2es12" unless="setup.nodesktop">
      <c.build c.compiler.src.files="c.src.files.jogl.gl2es12"
               output.lib.name="jogl_gl2es12"
               compiler.cfg.id="${compiler.cfg.id}"
               linker.cfg.id="${linker.cfg.id.gl2}"/>    --- error in this line.
    </target>

Eclipse reports:

BUILD FAILED
C:\jiapei\MyPrograms\Eclipse\jogl\make\build.xml:74: The following error occurred while executing this line:
C:\jiapei\MyPrograms\Eclipse\jogl\make\build-jogl.xml:1554: The following error occurred while executing this line:
C:\jiapei\MyPrograms\Eclipse\jogl\make\build-jogl.xml:1479: link failed with return code -1073741515

I am using the newest JOGL GIT
OS: WindowsXP
Version: SP3
CG: the newest one downloaded from http://developer.nvidia.com/object/cg_download.html , version of 2009-April
Java-version: jdk1.6.0_15

That’s all what I can afford now.

Cheers
JIA