Reply – Re: Fail to compile gluegen-v2.0-rc2 ...
Your Name
or Cancel
In Reply To
Re: Fail to compile gluegen-v2.0-rc2 ...
— by jiapei100 jiapei100
Hi Walker:

Several questions to ask, please do help !!

1) Sorry, stupid me. How does ant work? Is it possible for me to specify gcc when running ant? I followed your suggestion and I met the following problem at first:
 Could not launch gcc: Cannot run program "gcc"
It looks that if jogl is not put under the same folder as gluegen, to build gluegen will always produce the above quoted problem?

2) What if I remove the default antlr in gluegen/make/lib, and specify my own antlr in file gluegen/make/ ? I did this by specifying
, which continuously brought me the following errors:
C:\Users\peij\MyPrograms\Java\Eclipse\gluegen\make\build.xml:535: The following
error occurred while executing this line:
C:\Users\peij\MyPrograms\Java\Eclipse\gluegen\make\build.xml:142: ANTLR returned
: 1
3) Let me put the default antlr back in folder gluegen/make/lib, I can successfully build gluegen under Cygwin. However, jogl continued to be unable to be built successfully.
C:\Users\peij\MyPrograms\Java\Eclipse\jogl\make\build.xml:69: The following error occurred while executing this line:
C:\Users\peij\MyPrograms\Java\Eclipse\jogl\make\build-nativewindow.xml:319: Compile failed; see the compiler error output for details.

By the way, Walker, did u successfully build gluegen and jogl under Windows 7? If so, how, please?
How can I specify my own junit and antlr-3.3, without letting the build fail again and again?

Thank you very much.
Welcome to Vision Open