Re: [GtkGLExt] Linking





flood wrote:

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`

You need to use the gtkglext.pc file for pkg-config. Try something like this

gcc -Wall -g main.c -o Protoype `pkg-config --cflags --libs gtkglext-1.0`







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