Gluegen seems never able to be fully compiled...

Current(Nov. 16, 2009) gluegen won’t compile and it seems it had never been able to be fully compiled.

replaceAll around line 1157 in file CMethodBindingEmitter.java
split around line 98 in file GlueGen.java
preprocessor = new PCPP(includePaths); around line 126 in file GlueGen.java
replaceAll from line 70 to 79 in file ConvertFromGL4Java.java
and current PCPP.java

are full of errors.

Is gluegen under a substantial development for upgrading??

Cheers
JIA

which repository? (http://github.com/sgothel/gluegen or http://github.com/sgothel/mbien) Everything builds fine for me. (i am working on nightly builds infrastructure right now)

Hi, I’m using GlueGen here http://kenai.com/projects/gluegen/pages/Home

More specifically, http://kenai.com/projects/gluegen/sources/gluegen-git/show#
with GIT support git://kenai.com/gluegen~gluegen-git

So, where on earth GlueGen now is hosting at?

Cheers
JIA

http://www.java-gaming.org/index.php/topic,21516.msg175748.html#msg175748

fwiw, ant 1.6.5 failed where ant 1.7.1 succeeded (from github/sg repo)

In fact, I’m using Ubuntu 9.10, which ships with ant 1.71

Rgds
JIA

jia.
rereading your message i think you’re looking at java version problems.
java -version ?

john

Thanks for your reply…

$ java -version
java version “1.6.0_0”
OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu1)
OpenJDK Server VM (build 14.0-b16, mixed mode)

hmm… openjdk 6, that’s an odd one (should be 7, but…)

and you’re in


 git clone git://github.com/sgothel/gluegen.git gluegen
 cd gluegen/make
 cp gluegen.properties ~/
 <edit ~/gluegen.properties for antlr.jar>
 ant

which fails?

assuming all the above is nominal…

gcc --version ?

gcc --version
gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1
Copyright © 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

well, check java to see if normal J6 API functions are there

for example…


public class test { 
 public static void main(String[] argv){
  if ("".isEmpty()) System.out.println("ok"); 
 }
}

…compiles?

i can’t see digging into gluegen much, since the code is known to compile and run on equivalent hosts.