Re: [GtkGLExt] Linking



When I tried that I got this output:

/usr/local/lib/libgtkglext-x11-1.0.so: undefined reference to `XF86VidModeQueryVersion'
/usr/local/lib/libgtkglext-x11-1.0.so: undefined reference to `XF86VidModeGetModeLine'
collect2: ld returned 1 exit status


On 10/19/05, Douglas Vechinski <douglas vechinski dynetics com> wrote:


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`







--
~flood

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