GlueGen Wiki: Difference between revisions

From JogampWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
__TOC__
__TOC__
== 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 Wiki|JOCL]] and [[JOGL Wiki|JOGL]].


== Build Requirements ==
== Build Requirements ==

Revision as of 20:02, 13 May 2010

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.

Build Requirements

  • ANT 1.8
  • JDK 6

Build

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