Posted by
rhatcher on
Aug 10, 2012; 9:38pm
URL: https://forum.jogamp.org/Problem-Building-JOGL-Natives-On-Linux-tp4025777.html
Fedora 12/i386
gcc (GCC) 4.4.4 20100630 (Red Hat 4.4.4-10)
Sun/Oracle JDK 7u5
ant 1.8.4
I've been attempting to build GlueGen and JOGL from repositories I just now cloned.
I
think GlueGen is building ok. At least the jars I expect to see are there, and the one that has the native stuff contains a .so file.
When JOGL builds it says it was successful. The Java components seem to build ok; however, all the jars that should contain native components are there but contain only a manifest.
I have the repos cloned at a common root, i.e. .../jogamp/gluegen and .../jogamp/jogl, and am building GlueGen first and then JOGL. I'm not using any custom .properties files for either of them despite what the
JOGL build ant output suggests (maybe I should be, but the instructions I was going by said it was optional). CLASSPATH is unset in the shell's environment.
At some point in the
JOGL build ant output there is this complaint:
[gluegen] ANTLR Parsing Error: line 393:617513: unexpected token: RECT token name:ID
[gluegen] line 393:617513: unexpected token: RECT
[gluegen] at com.jogamp.gluegen.cgram.GnuCParser.specifierQualifierList(GnuCParser.java:3267)
[gluegen] at com.jogamp.gluegen.cgram.GnuCParser.structDeclaration(GnuCParser.java:3167)
[gluegen] at com.jogamp.gluegen.cgram.GnuCParser.structDeclarationList(GnuCParser.java:3137)
[gluegen] at com.jogamp.gluegen.cgram.GnuCParser.structOrUnionSpecifier(GnuCParser.java:2721)
[gluegen] at com.jogamp.gluegen.cgram.GnuCParser.typeSpecifier(GnuCParser.java:2534)
[gluegen] at com.jogamp.gluegen.cgram.GnuCParser.declSpecifiers(GnuCParser.java:1908)
[gluegen] at com.jogamp.gluegen.cgram.GnuCParser.declaration(GnuCParser.java:546)
[gluegen] at com.jogamp.gluegen.cgram.GnuCParser.externalDef(GnuCParser.java:490)
[gluegen] at com.jogamp.gluegen.cgram.GnuCParser.externalList(GnuCParser.java:258)
[gluegen] at com.jogamp.gluegen.cgram.GnuCParser.translationUnit(GnuCParser.java:219)
[gluegen] at com.jogamp.gluegen.GlueGen.run(GlueGen.java:131)
[gluegen] at com.jogamp.gluegen.GlueGen.main(GlueGen.java:363)
Is that the root of the problem or have I overlooked something more fundamental upstream?