Eukalyptus - Wrapper Generator

News

10 Jan 2006    Web site goes online.

Description

Eukalyptus wraps C++ libraries in Eiffel.

Author

Martin Piskernig <martin.piskernig@univie.ac.at>

Download

Coming soon: eukalyptus-0.1.tar.gz (0 bytes)

Features

Generates a wrapper for most parts of a C++ library:

Requirements

Documentation

Coming soon!

Limitations

How to build

  1. Unzip the source package:
    $ tar xvzf eukalyptus-x.y.tar.gz
  2. Change into the created directory:
    $ cd Eukalyptus
  3. Run the ISE Eiffel compiler and finalize the system:
    $ ec
    $ make finalize
  4. The generated binary can now be called:
    $ ./eukalyptus cppxmlfile xtfile
  5. To test that everything works, you may try:
    $ make test
    which will generate an Irrlicht wrapper in /tmp/eu.
  6. Happy wrapping! :-)

How to wrap a library

In directory Eukalyptus, change to UTILS/kanemeta and run make.
This program will generate an XML representation of a library for you.

Arguments of kanemeta:
  1. An input C++ header file.
  2. The XML output file.
  3. All other arguments will be given to the g++ compiler.
An example:
$ LD_LIBRARY_PATH=/opt/gcc4/lib ./kanemeta \
      /usr/irrlicht/include/irrlicht.h irrlicht.xml \
      -I/usr/irrlicht/include
(The LD_LIBRARY_PATH is currently needed because of installing MetaC++,
please see their build documentation in section "Links"!)

To test if the output is correct, run a RelaxNG checker:

xmllint --noout --relaxng ../cpprng/kane.rng irrlicht.xml

License

Eukalyptus is released under the Eiffel Forum License, version 2.

Links


(c) 2006 Martin Piskernig <martin.piskernig@univie.ac.at> Impressum