link problem on mingw32



Hello,

I'm trying to use gtkmm on Windows (with mingw32). I build a static lib for each package of my application and get the following messages when linking:

g++ -o ihm.exe ../obj/ihm.o ../lib/lib.a -O -Wl --enable-runtime-pseudo-reloc -Lc:/Dev-Cpp/GTK/lib -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lgtk-win32-2.0 -lpangomm-1.4 -lglibmm-2.4 -lsigc-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv Info: resolving Gtk::Stock::QUIT by linking to __imp___ZN3Gtk5Stock4QUITE (auto-import) Info: resolving Gtk::Stock::CANCEL by linking to __imp___ZN3Gtk5Stock6CANCELE (auto-import) Info: resolving Gtk::Stock::OK by linking to __imp___ZN3Gtk5Stock2OKE (auto-import) Info: resolving VTT for Gtk::TreeViewColumn by linking to __imp___ZTTN3Gtk14TreeViewColumnE (auto-import) Info: resolving vtable for Gtk::TreeViewColumnby linking to __imp___ZTVN3Gtk14TreeViewColumnE (auto-import) ../lib/lib.a(TreeView.o)(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15TreeModelColumnIT_EE[Gtk::TreeViewColumn::TreeViewColumn<Glib::ustring>(Glib::ustring const&, Gtk::TreeModelColumn<Glib::ustring> const&)]+0x59):TreeView.cxx: variable 'VTT for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
collect2: ld returned 1 exit status


I know I'm not the first one to encounter this problem but I didn't find the solution in archives. Is there a link option I should use ?

Any clue ?


Thanks,

Jean


P.S.: I use Windows XP, Dev-C++ 4.9.9.2 (but have the same problem when using mingw directly), gcc-3.4.2.



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