[GtkGLExt] Linking



Hello, I would like to use GtkGlExt for my project but I'm having trouble getting it up and running. I compile my program like this:


gcc -Wall -g main.c -o Protoype `pkg-config --cflags gtk+-2.0` \
> `pkg-config --libs gtk+-2.0`

But I get this output:

In file included from /usr/include/gtk/gtkgl.h:22,
                 from main.c:9:
/usr/include/gdk/gdkgl.h:22:29: gdkglext-config.h: No such file or directory
In file included from /usr/include/gdk/gdkgl.h:24,
                 from /usr/include/gtk/gtkgl.h:22,
                 from main.c:9:
/usr/include/gdk/gdkgldefs.h:24:29: gdkglext-config.h: No such file or directory

I'm using Ubuntu and I can confirm I have installed: libgtkglext1 and libgtkglext1-dev

--
~flood

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]