libglademm problem
David Wilson <[email protected]> Fri, 21 Oct 2005 13:53:30 -0400
| Newsgroups | gmane.comp.gnome.gnomemm |
|---|---|
| Message-ID | <[email protected]> |
--===============0357869949== Content-Type: multipart/alternative; boundary="----=_Part_6869_28177668.1129917210190" ------=_Part_6869_28177668.1129917210190 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline im using the derived widgets to make my UI like in the gtkmm book. http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch19s03.html how ever when I link the main.o file I get this main.o: In function `TenetWoes* Gnome::Glade::Xml::get_widget_derived<TenetWoes>(Glib::ustring const&, TenetWoes*&)': /usr/include/libglademm-2.4/libglademm/xml.h:248: undefined reference to `typeinfo for TenetWoes' /usr/include/libglademm-2.4/libglademm/xml.h:264: undefined reference to `TenetWoes::TenetWoes(_GtkWindow*, Glib::RefPtr<Gnome::Glade::Xml> const&)' im using ver 2.6.1 of libglade and gcc 4.0 David Wilson ------=_Part_6869_28177668.1129917210190 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline im using the derived widgets to make my UI like in the gtkmm book.<br> <br> <a href=3D"http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch19s03.html">htt= p://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch19s03.html</a><br> <br> how ever when I link the main.o file I get this<br> main.o: In function `TenetWoes* Gnome::Glade::Xml::get_widget_derived<TenetWoes>(Glib::ustring const&, TenetWoes*&)':<br> /usr/include/libglademm-2.4/libglademm/xml.h:248: undefined reference to `t= ypeinfo for TenetWoes'<br> /usr/include/libglademm-2.4/libglademm/xml.h:264: undefined reference to `TenetWoes::TenetWoes(_GtkWindow*, Glib::RefPtr<Gnome::Glade::Xml> const&)'<br> <br> im using ver 2.6.1 of libglade and gcc 4.0<br> <br> David Wilson<br> ------=_Part_6869_28177668.1129917210190-- --===============0357869949== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ gnomemm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnomemm-list --===============0357869949==--