Re: Problem Compiling GTKMM Code



KristonS aol com wrote:
I recently installed the gtkmm development environment on my home computer. When I tried compiling the sample code for treeview, the compiler gave me the following results:

messageslist.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15TreeModelColumnIT_EE[Gtk::TreeViewColumn::TreeViewColumn<Glib::ustring>(Glib::ustring const&, Gtk::TreeModelColumn<Glib::ustring> const&)]+0x116):messageslist.cpp: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.

messageslist.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15TreeModelColumnIT_EE[Gtk::TreeViewColumn::TreeViewColumn<Glib::ustring>(Glib::ustring const&, Gtk::TreeModelColumn<Glib::ustring> const&)]+0x125):messageslist.cpp: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.

You should use the -Wl,--enable-runtime-pseudo-reloc with g++ at link time.

Cedric



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