JOGL Gluegen and GLUEGEN...

I successfully build JOGL with its own Gluegen

However, if I build the GLUEGEN downloaded from https://gluegen.dev.java.net/
and replace the JOGL’s Gluegen with this downloaded one,
I failed to build JOGL.

So, is there any difference between these two GLUEGENs?

Cheers
JIA

Yes, my problem now changes to which GLUEGEN is to be used?

  1. The original one from
    https://gluegen.dev.java.net/

  2. joal one

  3. jogl one

???

Is there any standard one for us to use?

Regards
JIA Pei

Yeah … haven’t updated JOAL yet …

All on dev.java.net is deprecated … in regards to the new JOGL.

Looks like we have some JOAL users there ?
Somebody volunteering to bring it up with the new gluegen,
so we can integrate it in the kenai.com/projects/jogl workspace ?

Thank you …

Hi, yes…

I revised joal gluegen a bit, and it works for me.

The key is

  1. add VC9 supporting

  2. Update 1.4.2 doc to 1.6 doc at
    http://java.sun.com/javase/6/docs/api/

  3. Revise all source=“1.4” to source=“1.6”

  4. Particularly, correctly set gluegen directory. My gluegen at the address “” is directly downloaded from https://gluegen.dev.java.net/

   <target name="load.user.properties">
        <!-- Load the user specified properties file that defines various host
           - specific paths.  The user will be notified if this is does not
           - exist. -->
        <property name="user.properties.file" value="./joal.properties" />
        <property file="${user.properties.file}" />
        <echo message="Loaded ${user.properties.file}." />
        <property file="../../gluegen/make/gluegen.properties" />
        <echo message="Loaded ../../gluegen/make/gluegen.properties." />
        <echo message="antlr.jar=${antlr.jar}" />
        <fail message="antlr.jar was not specified in joal.properties or gluegen.properties. Please see README.txt for instructions" unless="antlr.jar"/>
        <fail message="joal.lib.dir was not specified in joal.properties. Please see README.txt for instructions" unless="joal.lib.dir"/>
    </target>

  1. Finally, ant…

I attached my “build.xml” as “build.txt”. Simply change the file type, correctly set gluegen folder, you might be able to remove JOAL Gluegen but only use the up-to-date one.

Ane, hope you can confirm what I have done is correct.

Cheers
JIA Pei

Oh, yes,

joal.properties is also very important, I revised it as:

antlr.jar=C:/jiapei/javajars/antlr-3.1.3.jar
win32.c.compiler=vc9
joal.lib.dir=C:/Program Files/OpenAL 1.1 SDK/libs/Win32

Ensure the position of your own antlr.jar is at the right place.

Regards
JIA