GlueGen Wiki

From JogampWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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/