Asynchronicity

Sometimes synchronicity is not enough

Posts Tagged ‘ocaml

OCaml Cairo bindings in GODI

leave a comment »

Still in the theme of dependencies for installation of OCaml libraries using GODI: for the ocaml-cairo bindings, of course you need libcairo2-dev installed, but the building script also depends on autoconf being present. So you have to install autoconf. It’s probable that other GODI packages use autoconf as well, so it’s a good idea to install it.

Written by Andrei Formiga

September 25, 2010 at 5:57 pm

Posted in ocaml

Tagged with , ,

Installing LablGTK2 and LablGL in GODI using Ubuntu

leave a comment »

GODI (and findlib) is great. But it doesn’t help very much when compiling OCaml libraries that bind to C libraries. For instance, these are the packages I had to install in Ubuntu to install LablGTK2 and LablGL (bindings to GTK and OpenGL):

sudo apt-get install libgtk2.0-dev freeglut3-dev tk8.4-dev libxmu-dev

And I had to change LablGTK’s configuration to not use OpenGL integration, because it failed compilation otherwise. Maybe the gtk2 in ubuntu does not come with OpenGL integration by default. UPDATE: To get OpenGL support on GTK (GtkGlArea) you may just install libgtkgl2.0-dev.

Written by Andrei Formiga

September 25, 2010 at 5:23 pm

Posted in ocaml

Tagged with , , ,