I can’t find the correct forum to post this in.
Ok i’ve read How to build the Jogl API page a million times. the error is:
The property "antlr.jar"of jar file was not set int JOGL properties file.
c:\Documents and Settings\mantis\jogl.properties
(or this file was not found)
Please set “antlr.jar” to the full path of the ANTLR jar including the jar itself.
i have installed antlr version 2.7.5. It says on the jogl help page i should install 2.7.2
but i cant find it on the website. i also got the latest version of apache_ant_1.6.5
i have already set the full path of antlr.jar in the jogl.properties file.
set CLASSPATH = // already done
in the build.xml file in the ${JAVA_HOME}/make directory i have noticed that
user.home always points to this c:\Documents and Settings\mantis directory
which happens to be the wrong one. so i edited this and put the new directory in and
still it wouldnt compile. what am i doing wrong? is there a way of overiding or
setting the user.home value?
4 Copy and edit jogl.properties:
* On Windows and X11 platforms: Copy make/jogl.properties into your home directory (pointed to by the Java system property user.home).
* On Mac OS X: Copy make/jogl.properties into the Library/Java subdirectory of your home directory (pointed to by the Java system property user.home).
Edit the copy to change any settings that are necessary, in particular the location of the ANTLR jar file (typically $HOME/antlr-2.7.2/antlr.jar).
5. Build the source tree:
Open a command shell in the “make” directory of the source tree and type “ant [target]”, where [target] is one of linux, macosx, solaris, win32.vc6, win32.vc7, or win32.mingw.
* The win32 targets require one of Microsoft Visual C++ 6, 7 (Visual Studio .NET) or the free MinGW (http://www.mingw.org/) compilers to be installed. Choose the appropriate target for the compiler desired.
* An experimental binding to the high-level Cg language by NVidia corporation can be generated by specifying -Djogl.cg=1 to ant; e.g. ant -Djogl.cg=1 win32.vc6. The Cg binding has been tested on Windows, Linux, and Mac OS X.