GlueGen Wiki: Difference between revisions

From JogampWiki
Jump to navigation Jump to search
No edit summary
(3 intermediate revisions by 3 users not shown)
Line 4: Line 4:
GlueGen is a tool which automatically generates the Java and JNI code necessary to call C libraries. It reads as input ANSI C header files and separate configuration files which provide control over many aspects of the glue code generation.
GlueGen is a tool which automatically generates the Java and JNI code necessary to call C libraries. It reads as input ANSI C header files and separate configuration files which provide control over many aspects of the glue code generation.


GlueGen is required for building JOAL, [[JOCL Wiki|JOCL]] and [[JOGL Wiki|JOGL]].
GlueGen is required for building [[JOAL Wiki|JOAL]], [[JOCL Wiki|JOCL]] and [[JOGL Wiki|JOGL]].
 
A [http://jogamp.org/gluegen/doc/manual/ GlueGen Manual] is available as well.


== Build Requirements ==
== Build Requirements ==
Line 13: Line 15:
== Build ==
== Build ==
# clone the repository
# clone the repository
#: e.g.: $git clone git://github.com/mbien/gluegen.git gluegen
#: e.g.: $git clone git://github.com/JogAmp/gluegen.git gluegen
# cd into gluegen/make
# cd into gluegen/make
# $ant clean all test
# $ant clean all test
== GlueGen Manual ==
http://jogamp.org/gluegen/doc/manual/

Revision as of 21:37, 16 July 2013

Overview

GlueGen is a tool which automatically generates the Java and JNI code necessary to call C libraries. It reads as input ANSI C header files and separate configuration files which provide control over many aspects of the glue code generation.

GlueGen is required for building JOAL, JOCL and JOGL.

A GlueGen Manual is available as well.

Build Requirements

  • ANT 1.8
  • JDK 6

Build

  1. clone the repository
    e.g.: $git clone git://github.com/JogAmp/gluegen.git gluegen
  2. cd into gluegen/make
  3. $ant clean all test

GlueGen Manual

http://jogamp.org/gluegen/doc/manual/