GlueGen Wiki

From JogampWiki
Jump to: navigation, 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/JogAmp/gluegen.git gluegen
  2. cd into gluegen/make
  3. $ant clean all test

GlueGen Manual

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