Help same problem - [gtkmm] Windows compilation/utilisation problems



Hi,

I am having the same problem. I have installed the latest 2.4 binaries
from www.pcpm.ucl.ac.be/~gustin/win32_ports/gtkmm.html.

Additionally, I picked up the following tar files and updated mingw:

binutils-2.13.90-20021006-2.tar
gcc-g++-3.3.1-20030804-1.tar
w32api-2.5.tar
gcc-3.3.1-info-html.tar
mingw-runtime-3.3.tar
gcc-core-3.3.1-20030804-1.tar
mingw-utils-0.3.tar

/c/gtkmm/examples/book/treeview/tree gives me:

g++ -o main *.cc `pkg-config --cflags --libs gtkmm-2.4`
Info: resolving __ZTTN3Gtk14TreeViewColumnE by linking to
__imp___ZTTN3Gtk14TreeViewColumnE (auto-import)
Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking to
__imp___ZTVN3Gtk14TreeViewColumnE (auto-import)
C:/DOCUME~1/115248/LOCALS~1/Temp/ccqCaaaa.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15TreeModelColumnIT_EE+0x116):examplewindow.cc: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
C:/DOCUME~1/115248/LOCALS~1/Temp/ccqCaaaa.o(.text$_ZN3Gtk14TreeViewColumnC1IiEERKN4Glib7ustringERKNS_15TreeModelColumnIT_EE+0x125):examplewindow.cc: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
C:/DOCUME~1/115248/LOCALS~1/Temp/ccqCaaaa.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15TreeModelColumnIT_EE+0x116):examplewindow.cc: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
C:/DOCUME~1/115248/LOCALS~1/Temp/ccqCaaaa.o(.text$_ZN3Gtk14TreeViewColumnC1IN4Glib7ustringEEERKS3_RKNS_15TreeModelColumnIT_EE+0x125):examplewindow.cc: variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.

But I don't understand from the archive post what I need to do to fix
it!

Thanks,

Diana Esch-Mosher



On Mon, 2004-05-24 at 09:34, Christophe Pijcke wrote:
> I found what's going on after reinstalling my developpement environnement.
> The bug was explain here:
> http://www.geocrawler.com/archives/3/6013/2001/8/0/6486953/
> For those who are interrested in.
> 
> Everything work fine with gcc 3.2.3 and ld 2.13.90.
> 
> Thank you,
>   Christophe.
> 
> >
> > >ie: > cd {gtkmm_src}/examples/treemodelcustom/
> > >     > g++ -o main exampletreemodel.cc examplewindow.cc main.cc
> > >`pkg-config --libs --cflags gtkmm-2.4`
> > >
> > >the result is:
> > >
> > >     > Info: resolving __ZTTN3Gtk14TreeViewColumnE by linking to
> > >__imp___ZTTN3Gtk14TreeViewColumnE (auto-import)
> > >     > Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking to
> > >__imp___ZTVN3Gtk14TreeViewColumnE (auto-import)
> > >     >
> >
> >C:/DOCUME~1/avery/LOCALS~1/Temp/ccuybaaa.o(.text$_ZN3Gtk14TreeViewColumnC1I
> N
> > >4Glib7ustringEEERKS3_RKNS_15TreeModelColumnIT_EE+0x116):examplewindow.cc:
> > >variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please
> > >read     the documentation for ld's --enable-auto-import for details.
> > >     >
> >
> >C:/DOCUME~1/avery/LOCALS~1/Temp/ccuybaaa.o(.text$_ZN3Gtk14TreeViewColumnC1I
> N
> > >4Glib7ustringEEERKS3_RKNS_15TreeModelColumnIT_EE+0x125):examplewindow.cc:
> > >variable 'vtable for Gtk::TreeViewColumn' can't be auto-imported. Please
> > >read the documentation for ld's --enable-auto-import for details.
> >
> > Are you sure you link against the import libraries (.dll.a files) ? What
> > does `pkg-config --libs --cflags gtkmm-2.4` return ? Does it match your
> > gtkmm installation directory ?
> > ---------------------------
> 
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
-- 
Diana Esch-Mosher <desch-mosher lanl gov>
Los Alamos National Laboratory




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