This archive contains the bindings for OCAML for the Clutter toolkit
If you have any enhancements or bug reports, please send them to:
* Ocaml >= 3.10
* clutter >= 0.8 or higher
* clutter-cairo >= 0.8 or higher
* lablgtk2 >= ?? or higher
* cairo-ocaml >= ??
This release is supporting the following Clutter releases:
In order to install this module type the following. This will build both
the byte and native versions of the libraries, tests, and examples.
To build byte only versions:
To build native only versions:
To generate HTML documentation in clutter-ocaml/doc/html :
Additional relavant make targets include: all, clean, uninstall
If you use ocamlfind, you should be able to compile a simple ocaml-clutter
file called "test-clutter.ml" as follows:
$ ocamlfind ocamlopt -package clutter -c test-clutter.ml
$ ocamlfind ocamlopt -linkpkg -package clutter -o test-clutter.opt test-clutter.cmx -cclib "`pkg-config --libs clutter-0.8`" -cclib "`pkg-config --libs clutter-cairo-0.8`"
Example clutter script:
let () =
let stage = ClutterStage.get_default () in
Copyright and License
Copyright (C) 2008 Reid van Melle
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Library General Public License as published by the Free
Software Foundation; either version 2.1 of the License, or (at your option)
any later version
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more
You should have received a copy of the GNU Library General Public License along
with this library; if not, write to the Free Software Foundation, Inc., 59
Temple Place - Suite 330, Boston, MA 02111-1307 USA.