Re: gtk1.2 tutorial



> Okay, thanks. I did that and it went okay. but now when I try to compile I
> get the following:
> 
> gcc: gtk-config --cflags --libs: No such file or directory

this error is a big no no
you are running the command to compile properly, not backquoting "gtk-config --cflags --libs".
perhaps you are using ordinary quotes by mistake?

('gtk-config --cflags --libs' when it should be `gtk-config --cflags --libs`)

so your command should be something like
gcc `gtk-config --cflags --libs` -o base base.c

the backquote key is the same key you use to type ~ but without shift

> 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 base.c:3:
> /usr/include/glib.h:22: glibconfig.h: No such file or directory
> 
> I did a find for glibconfig.h, and again, no sign of the file. Thanks again.
> 
> -------------------------------------------------------
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list




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