Re: [gtk-list] compiling menufactory



Omar Armas Aleman wrote:

> i'm reading gtk-tutorial and tried to compile the menu_factory example. i
> have gtk 1.01 from gnome distribution and got this error:
>
> /////////////////////////////
>
> cd /home/kaos/progs/dsp/
> make -k
> gcc -c -Wall -g -L/usr/local/include -DDEBUG menufactory.c
> In file included from /usr/include/gdk/gdktypes.h:25,
>                  from /usr/include/gdk/gdk.h:23,
>                  from /usr/include/gtk/gtk.h:23,
>                  from menufactory.c:3:
> /usr/include/glib.h:22: glibconfig.h: No such file or directory

Try putting `gtk-config --cflags` in as a paramter for gcc when compiling,
then put `gtk-config --libs` when linking. Make sure u put the `` in, and make
sure they're the right ones.

:)

Warwick Mitchell



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