日期:2014-05-16  浏览次数:20665 次

gtk+ 和glade错误求助
用glade设计的界面,用到了libgladegcc编译通过了,但是执行a.out出现如下
(a.out:26291): libglade-WARNING **: Expected <glade-interface>. Got <interface>.

(a.out:26291): libglade-WARNING **: did not finish in PARSER_FINISH state

(a.out:26291): libglade-CRITICAL **: glade_xml_get_widget: assertion `self != NULL' failed

(a.out:26291): Gtk-CRITICAL **: IA__gtk_widget_show_all: assertion `GTK_IS_WIDGET (widget)' failed

------解决方案--------------------
同问。。。
貌似是glade_xml_new没有创建完成?