[Glade-users] question on libglade



I have the same problem !
My problem is the same type, but some diferent, I use the scripts
generated by Glade, it worked well in RedHat 6.2 whit Glade 0.5.5, GTK
1.2.6 when I upgrade to Conectiva 7 (Brazilian Distr.) with Glade 0.6.2
and GTK 1.2.10, my programs never more can be compiled, the compiler say
that doesn't find /linux/include/errno.h, the scripts generated by Glade
says that gtk must be better than 1.2.0, but my gtk is 1.2.10 !!!!! 

What I do ??????

Thankx

Flavio

"Huang, Mike" wrote:

Hello, fellow Glade users:

I'm just wondering anybody has read Neil Matthew and Richard Stones book '
Professional Linux Programming'. In chapter 9, "GUI Building with Glade and
GTK+/Gnome" gives an example of using libglade. Following the  instruction
to modify code, run the code, I get many "No such file or directory" errors.
I believe the problem is due to environment set-up (libraries...) but I
don't know how to solve them because I don't know what is needed. I'm
running RH7.1. Can someone help me with this. Included are the Makefile and
first few lines out of issuing 'make' command:

Makefile:
CC=gcc
CFLAGS = -g -Wall 'gnome-config --cflags gnomeui libglade'
LDFLAGS ='gnome-config --libs gnomeui libglade'
all:libglade_example
clean:
        rm -f *.o libglade_example

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
....
....
(rest is omitted)

Mike Huang

_______________________________________________
Glade-users maillist  -  Glade-users ximian com
http://lists.ximian.com/mailman/listinfo/glade-users






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