Re: [gtkmm] libglademm problem...



Nick Nolan <hellish comcast net> writes:

> I can compile my extremely simple program fine, but when I run it I get:
>
> hellish Osiris:~/hacking/space-battle/src$ ./a.out 
>
> (a.out:28347): libglade-WARNING **: Expected <glade-interface>.  Got <GTK-Interface>.
>
> (a.out:28347): libglade-WARNING **: did not finish in PARSER_FINISH state
> Aborted
>
>
> anyone know what that means? google and list archives turn up nothing.
>
> code:
> #include <libglademm.h>
> #include <gtkmm.h>
> int main(int argc, char *argv[])
> {
>   Gtk::Main kit(argc, argv);
>
>
>   Glib::RefPtr<Gnome::Glade::Xml> refXml = Gnome::Glade::Xml::create("space-battle.glade");
>   return 0;
> }

There's something wrong with that glade file, did you use an older
version of glade to produce it?  It's not the correct syntax at all,
and glade itself wouldn't even load it here.




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