GlueGen Wiki

From JogampWiki
Revision as of 09:56, 14 May 2010 by Sgothel (talk | contribs)
Jump to navigation Jump to search

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/mbien/gluegen.git gluegen
  2. cd into gluegen/make
  3. $ant clean all test