Installing LablGTK2 and LablGL in GODI using Ubuntu
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.
Advertisement