Code:
mike@mike-laptop:~/gtk-foobar/src$ g++ main.cc `pkg-config gtkmm-2.4 --libs --cflags` -o test
main.cc:20:28: error: libglademm/xml.h: No such file or directory
In file included from /usr/include/gtk-2.0/gtk/gtk.h:69,
from /usr/include/gtkmm-2.4/gtkmm/targetentry.h:30,
from /usr/include/gtkmm-2.4/gtkmm/targetlist.h:28,
from /usr/include/gtkmm-2.4/gtkmm/widget.h:46,
from /usr/include/gtkmm-2.4/gtkmm/container.h:29,
from /usr/include/gtkmm-2.4/gtkmm/bin.h:30,
from /usr/include/gtkmm-2.4/gtkmm/window.h:32,
from /usr/include/gtkmm-2.4/gtkmm/dialog.h:30,
from /usr/include/gtkmm-2.4/gtkmm/aboutdialog.h:30,
from /usr/include/gtkmm-2.4/gtkmm.h:34,
from main.cc:22:
/usr/include/gtk-2.0/gtk/gtkcolorsel.h:60: error: ‘GtkVBox’ does not name a type
/usr/include/gtk-2.0/gtk/gtkcolorsel.h:68: error: ‘GtkVBoxClass’ does not name a type
In file included from /usr/include/gtk-2.0/gtk/gtk.h:89,
from /usr/include/gtkmm-2.4/gtkmm/targetentry.h:30,
from /usr/include/gtkmm-2.4/gtkmm/targetlist.h:28,
from /usr/include/gtkmm-2.4/gtkmm/widget.h:46,
from /usr/include/gtkmm-2.4/gtkmm/container.h:29,
from /usr/include/gtkmm-2.4/gtkmm/bin.h:30,
from /usr/include/gtkmm-2.4/gtkmm/window.h:32,
from /usr/include/gtkmm-2.4/gtkmm/dialog.h:30,
from /usr/include/gtkmm-2.4/gtkmm/aboutdialog.h:30,
from /usr/include/gtkmm-2.4/gtkmm.h:34,
from main.cc:22:
/usr/include/gtk-2.0/gtk/gtkfilechooserwidget.h:46: error: ‘GtkVBox’ does not name a type
/usr/include/gtk-2.0/gtk/gtkfilechooserwidget.h:53: error: ‘GtkVBoxClass’ does not name a type
In file included from /usr/include/gtk-2.0/gtk/gtk.h:92,
from /usr/include/gtkmm-2.4/gtkmm/targetentry.h:30,
from /usr/include/gtkmm-2.4/gtkmm/targetlist.h:28,
from /usr/include/gtkmm-2.4/gtkmm/widget.h:46,
from /usr/include/gtkmm-2.4/gtkmm/container.h:29,
from /usr/include/gtkmm-2.4/gtkmm/bin.h:30,
from /usr/include/gtkmm-2.4/gtkmm/window.h:32,
from /usr/include/gtkmm-2.4/gtkmm/dialog.h:30,
from /usr/include/gtkmm-2.4/gtkmm/aboutdialog.h:30,
from /usr/include/gtkmm-2.4/gtkmm.h:34,
from main.cc:22:
/usr/include/gtk-2.0/gtk/gtkfontsel.h:69: error: ‘GtkVBox’ does not name a type
/usr/include/gtk-2.0/gtk/gtkfontsel.h:94: error: ‘GtkVBoxClass’ does not name a type
In file included from /usr/include/gtk-2.0/gtk/gtk.h:94,
from /usr/include/gtkmm-2.4/gtkmm/targetentry.h:30,
from /usr/include/gtkmm-2.4/gtkmm/targetlist.h:28,
from /usr/include/gtkmm-2.4/gtkmm/widget.h:46,
from /usr/include/gtkmm-2.4/gtkmm/container.h:29,
from /usr/include/gtkmm-2.4/gtkmm/bin.h:30,
from /usr/include/gtkmm-2.4/gtkmm/window.h:32,
from /usr/include/gtkmm-2.4/gtkmm/dialog.h:30,
from /usr/include/gtkmm-2.4/gtkmm/aboutdialog.h:30,
from /usr/include/gtkmm-2.4/gtkmm.h:34,
from main.cc:22:
/usr/include/gtk-2.0/gtk/gtkgamma.h:63: error: ‘GtkVBox’ does not name a type
/usr/include/gtk-2.0/gtk/gtkgamma.h:76: error: ‘GtkVBoxClass’ does not name a type
In file included from /usr/include/gtk-2.0/gtk/gtk.h:152,
from /usr/include/gtkmm-2.4/gtkmm/targetentry.h:30,
from /usr/include/gtkmm-2.4/gtkmm/targetlist.h:28,
from /usr/include/gtkmm-2.4/gtkmm/widget.h:46,
from /usr/include/gtkmm-2.4/gtkmm/container.h:29,
from /usr/include/gtkmm-2.4/gtkmm/bin.h:30,
from /usr/include/gtkmm-2.4/gtkmm/window.h:32,
from /usr/include/gtkmm-2.4/gtkmm/dialog.h:30,
from /usr/include/gtkmm-2.4/gtkmm/aboutdialog.h:30,
from /usr/include/gtkmm-2.4/gtkmm.h:34,
from main.cc:22:
/usr/include/gtk-2.0/gtk/gtkrecentchooserwidget.h:48: error: ‘GtkVBox’ does not name a type
/usr/include/gtk-2.0/gtk/gtkrecentchooserwidget.h:55: error: ‘GtkVBoxClass’ does not name a type
main.cc: In function ‘int main(int, char**)’:
main.cc:39: error: ‘Gnome’ was not declared in this scope
main.cc:39: error: template argument 1 is invalid
main.cc:39: error: invalid type in declaration before ‘;’ token
main.cc:42: error: ‘Gnome’ is not a class or namespace
main.cc:44: error: ISO C++ forbids declaration of ‘Gnome’ with no type
main.cc:44: error: expected `)' before ‘::’ token
main.cc:44: error: expected `{' before ‘::’ token
main.cc:44: error: ‘::Glade’ has not been declared
main.cc:44: error: ‘ex’ was not declared in this scope
main.cc:44: error: expected `;' before ‘)’ token
main.cc:50: error: base operand of ‘->’ is not a pointer
Bookmarks