Re: [gtk-list] Re: problems compiling simple stuff



> Well, I tried
> gcc -lgtk -lgdk -lglib -L/usr/local/include/gtk window.c
> and -L/usr/local/lib, -L/usr/local/lib/glib/include and a few others, but none
> seemed to work, all of them dumped a ton of:

When I installed gtk+-1.0.0 on my computer I was told to use the
gtk-config utility, like so:

gcc `gtk-config --cflags` window.c
gcc -o window window.o `gtk-config --libs`

I wonder if it'd work then on your system?  Might be worth a shot, but I
make no garuntees... :)

==========================================================================
      KC5TJA/6     |                  -| TEAM DOLPHIN |-
        DM13       |                  Samuel A. Falvo II
    QRP-L #1447    |          http://www.dolphin.openprojects.net



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