is it possible to build java6 / jogl1 on mavericks?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

is it possible to build java6 / jogl1 on mavericks?

ndunn@me.com
Is it possible to build java6 / jogl1 on mavericks (macosx)?

java7/ jogl2 build great.  

Gluegen for jogl1 / java6 builds fine, but I run into this error while parsing jawt.h (everything else seems to parse correctly, however).  Any ideas?


java.generate.gl:
     [echo] Generating GL interface and implementation
  [gluegen] WARNING: unable to find #include file "inttypes.h"
  [gluegen] WARNING: unable to find #include file "inttypes.h"
  [gluegen] WARNING: unable to find #include file "stdint.h"
  [gluegen] WARNING: unable to find #include file "stdint.h"

java.generate.gl.nsig:
     [echo] Generating platform-specific OpenGL extension class
     [echo] Generating WGL/GLX/CGL implementation class
  [gluegen] WARNING: skipping emission of unnamed struct "struct _cglObj"
  [gluegen] WARNING: skipping emission of unnamed struct "struct _cglObj"
  [gluegen] WARNING: skipping emission of unnamed struct "struct _cglObj"
     [echo] Generating JAWT interface class
     [echo] java.home.dir=/System/Library/Frameworks/JavaVM.framework/Versions/A/
  [gluegen] ANTLR Parsing Error: line 262:5293: unexpected token: ; token name:SEMI
  [gluegen] line 262:5293: unexpected token: ;
  [gluegen] at com.sun.gluegen.cgram.GnuCParser.declaration(GnuCParser.java:570)
  [gluegen] at com.sun.gluegen.cgram.GnuCParser.externalDef(GnuCParser.java:477)
  [gluegen] at com.sun.gluegen.cgram.GnuCParser.externalList(GnuCParser.java:245)
  [gluegen] at com.sun.gluegen.cgram.GnuCParser.translationUnit(GnuCParser.java:206)
  [gluegen] at com.sun.gluegen.GlueGen.run(GlueGen.java:137)
  [gluegen] at com.sun.gluegen.GlueGen.main(GlueGen.java:297)
  [gluegen] Fatal IO error:
  [gluegen] line 1:6224: unexpected char: '@'

BUILD FAILED
/Users/NathanDunn/hg/jogl-1.1.1-src/make/build.xml:1565: The following error occurred while executing this line:
/Users/NathanDunn/hg/jogl-1.1.1-src/make/build.xml:593: GlueGen returned: 1

Total time: 4 seconds
NathanDunn:make%

Reply | Threaded
Open this post in threaded view
|

Re: is it possible to build java6 / jogl1 on mavericks?

Sven Gothel
Administrator
On 05/22/2014 11:59 PM, [hidden email] [via jogamp] wrote:
> Is it possible to build java6 / jogl1 on mavericks (macosx)?
>
> java7/ jogl2 build great.  
>
> Gluegen for jogl1 / java6 builds fine, but I run into this error while parsing
> jawt.h (everything else seems to parse correctly, however).  Any ideas?

This combination is not supported,
further more .. jogl1 is not supported anymore.

~Sven



signature.asc (894 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: is it possible to build java6 / jogl1 on mavericks?

ndunn@me.com
Thanks.  This was my intuition.  
Reply | Threaded
Open this post in threaded view
|

Re: is it possible to build java6 / jogl1 on mavericks?

gouessej
Administrator
Hi

I agree with Sven. The maintenance of JOGL 1 was discontinued in 2010 and Mac support has required some changes that have been done only in JOGL 2. No bug fix has been backported to JOGL 1. JOGL 1 should no longer be used especially in production.

Please can you let us know why you wanted to use JOGL 1? Do you have a dependency still using it? How can we help you?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: is it possible to build java6 / jogl1 on mavericks?

Nathan
Sorry for delayed response . . . I'm not sure what the dependency is.  I think that moving to JOGL 2 makes sense.  Thanks.