It compiles and links but does not run. I get the following errors: Gtk-WARNING **: invalid cast from `GtkWindow' to `GtkWindowType' Gtk-WARNING **: invalid cast from `GtkWindow' to `GtkWindowType' Gtk-WARNING **: invalid cast from `GtkWindow' to `GtkWindowType' Gtk-WARNING **: invalid cast from `GtkWindow' to `GtkWindowType' Gtk-WARNING **: invalid cast from `GtkWindow' to `GtkWindowType' Gtk-WARNING **: invalid cast from `GtkPizza' to `GtkWindowType' Gtk-WARNING **: invalid cast from `GtkPizza' to `GtkWindowType' Gtk-WARNING **: invalid cast from `GtkPizza' to `GtkWindowType' Segmentation fault
Is this an error with the wxgtk libs or the gtk/gdk libs ? Any ideas how to fix this ? Thanks, Brendan Simon. Brendan Simon wrote: > I managed to get the program to link by adding "-lgtkmm -lgdkmm" after the > `wx-config --libs` argument. > I'm not sure if this is a problem with the wxgtk-2.1 package or C librariy > dependencies. > What needs to be done to get this to work out of the box ?