[Glade-users] question on libglade
Damon Chaplin
damon@ximian.com
29 Aug 2001 19:42:15 -0400
On Wed, 2001-08-29 at 16:05, Huang, Mike wrote:
>
> error message:
> gcc -g -Wall 'gnome-config --cflags gnomeui libglade' 'gnome-config --libs
> gnomeui libglade' libglade_example.c -o libglade_example gcc:
> gnome-config --cflags gnomeui libglade: No such file or directory gcc:
> gnome-config --libs gnomeui libglade: No such file or directory In file
> included from libglade_example.c:2: /usr/include/gnome.h:12:26:
> gnomesupport.h: No such file or directory /usr/include/gnome.h:14:21:
> gtk/gtk.h: No such file or directory In file included from
> /usr/include/gdk_imlib.h:5, from /usr/include/gnome.h:15,
> from libglade_example.c:2: /usr/include/gdk_imlib_types.h:1:21: gdk/gdk.h:
> No such file or directory In file included from
> /usr/include/libgnome/libgnome.h:24, from
> /usr/include/gnome.h:16, from libglade_example.c:2:
> /usr/include/libgnome/gnome-config.h:4:18: glib.h: No such file or directory
> In file included from /usr/include/libgnome/libgnome.h:26,
> from /usr/include/gnome.h:16, from libglade_example.c:2:
> /usr/include/libgnome/gnome-exec.h:20:18: glib.h: No such file or directory
You need to install all the -devel packages, which include the
header files which are missing above.
i.e. install glib-devel, gtk-devel, gnome-libs-devel etc.
Damon