Sometimes synchronicity is not enough

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 , , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: