[Glade-users] Glade "make" error



I'm fairly new to glade and I have been having compile problems with my 
GUI project for several days now.  I was able to work through the 
autogen and autoconfig problems I was having, but now I have errors when 
trying to make the program.  I would think that if the configure runs 
fine, then the make should compile fine also.  It seems like I don't 
have the libraries I need, but I know that they are there.  Any help 
would be appreciated.  Thanks.

The error:
$ make
source='gui_02.cc' object='gui_02.o' libtool=no \
depfile='.deps/gui_02.Po' tmpdepfile='.deps/gui_02.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -I/usr/lib/gtkmm/include 
-I/usr/lib/gnomemm/include -I/usr/include -DNEED_GNOMESUPPORT_H 
-I/usr/lib/gnome-libs/include -I/usr/lib/glib/include 
-I/usr/X11R6/include -I/usr/lib/sigc++/include -I/usr/include/gnome-1.0 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -c -o gui_02.o `test -f 
'gui_02.cc' || echo './'`gui_02.cc
cc1plus: warning: changing search order for system directory "/usr/include"
cc1plus: warning:   as it has already been specified as a non-system 
directory
In file included from /usr/include/gtk--/widget.h:32,
                 from /usr/include/gtk--/container.h:27,
                 from /usr/include/gtk--/bin.h:27,
                 from /usr/include/gtk--/window.h:27,
                 from Main Game Window1_glade.hh:13,
                 from Main Game Window1.hh:13,
                 from gui_02.cc:11:
/usr/include/gtk--/object.h:58: friend declaration requires class-key, i.e.
   `friend struct Gtk::Object_Class'
In file included from /usr/include/gtk--/container.h:27,
                 from /usr/include/gtk--/bin.h:27,
                 from /usr/include/gtk--/window.h:27,
                 from Main Game Window1_glade.hh:13,
                 from Main Game Window1.hh:13,
                 from gui_02.cc:11:
/usr/include/gtk--/widget.h:99: friend declaration requires class-key, i.e.
   `friend struct Gtk::Widget_Class'
In file included from /usr/include/gtk--/bin.h:27,
                 from /usr/include/gtk--/window.h:27,
                 from Main Game Window1_glade.hh:13,
                 from Main Game Window1.hh:13,
                 from gui_02.cc:11:
/usr/include/gtk--/container.h:65: friend declaration requires 
class-key, i.e.
   `friend struct Gtk::Container_Class'
In file included from /usr/include/gtk--/window.h:27,
                 from Main Game Window1_glade.hh:13,
                 from Main Game Window1.hh:13,
                 from gui_02.cc:11:
/usr/include/gtk--/bin.h:50: friend declaration requires class-key, i.e.
   `friend struct Gtk::Bin_Class'
In file included from Main Game Window1_glade.hh:13,
                 from Main Game Window1.hh:13,
                 from gui_02.cc:11:
/usr/include/gtk--/window.h:55: friend declaration requires class-key, i.e.
   `friend struct Gtk::Window_Class'
In file included from /usr/include/gtk--/tooltips.h:28,
                 from Main Game Window1_glade.hh:14,
                 from Main Game Window1.hh:13,
                 from gui_02.cc:11:
/usr/include/gtk--/data.h:46: friend declaration requires class-key, i.e.
   `friend struct Gtk::Data_Class'
In file included from Main Game Window1_glade.hh:14,
                 from Main Game Window1.hh:13,
                 from gui_02.cc:11:
/usr/include/gtk--/tooltips.h:53: friend declaration requires class-key, 
i.e.
   `friend struct Gtk::Tooltips_Class'
make: *** [gui_02.o] Error 1







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