Re: [GtkGLExt] Linking


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.


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/ <>:
    undefined reference to `XF86VidModeQueryVersion'
    /usr/local/lib/ <>:
    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

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

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

-- ~flood



gtkglext-list mailing list
gtkglext-list gnome org

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