Problem with GLUI in Linux (widgets are invisible)


I’m having a weird problem with GLUI under linux (Ubuntu 8.10, with GNOME).

The window appears but all the widgets are invisible. It seems they are there, as reshaping the window causes them to appear sometimes, and the mouse cursor changes as desirable when you put it over a text box. But the rest of the time (almost forever) they are invisible.

I don’t know if it is a Gnome bug or not, but I wonder if there’s maybe a compiler flat that is missing or something like that. I’m compiling with:

CFLAGS = -g -lglut -lGL -lGLU -lglui

Thank you very much.

Ok, solved.
It was the Idle function.