Re: [GtkGLExt] Linking



Hi,

Perhaps some library linking flags are missing (the -l ones). See which one are used with the examples and try to add them to your gcc command.

Stéphane

flood wrote:

BTW when I downloaded gtkglext all the examples compile fine so I don't understand why I cant get my program to compile.

On 10/19/05, *flood* < subflood gmail com <mailto:subflood gmail com>> wrote:

    When I tried that I got this output:

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


    On 10/19/05, *Douglas Vechinski* < douglas vechinski dynetics com
    <mailto: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



--
~flood

------------------------------------------------------------------------

_______________________________________________
gtkglext-list mailing list
gtkglext-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkglext-list




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