RE: [gtkmm] Windows compilation/utilisation problems
- From: "Christophe Pijcke" <c pijcke laposte net>
- To: "'Cedric Gustin'" <cedric gustin swing be>, <gtkmm-list gnome org>
- Cc:
- Subject: RE: [gtkmm] Windows compilation/utilisation problems
- Date: Mon, 24 May 2004 16:48:15 +0200
Thank you cedric to give me a response so quickly,
> -----Message d'origine-----
> De : Cedric Gustin [mailto:cedric gustin swing be]
>
> Hi 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 ?
> ---------------------------
the result of pkg-config --libs --cflags gtkmm-2.4 are:
-IC:/usr/local/include/gtkmm-2.4 -IC:/usr/local/lib/gtkmm-2.4/include -IC:/u
sr/local/include/glibmm-2.4 -IC:/usr/local/lib/glibmm-2.4/include -IC:/usr/l
ocal/include/gdkmm-2.4 -IC:/usr/local/lib/gdkmm-2.4/include -IC:/usr/local/i
nclude/pangomm-1.4 -IC:/usr/local/include/atkmm-1.6 -IC:/usr/local/include/g
tk-2.0 -IC:/usr/local/include/sigc++-2.0 -IC:/usr/local/lib/sigc++-2.0/inclu
de -IC:/usr/local/include/glib-2.0 -IC:/usr/local/lib/glib-2.0/include -IC:/
usr/local/lib/gtk-2.0/include -IC:/usr/local/include/pango-1.0 -IC:/usr/loca
l/include/atk-1.0 -LC:/usr/local/lib -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 -l
gtk-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 -lgmod
ule-2.0 -lglib-2.0 -lintl -liconv
The result was what I expect to have. It match my installation path.
gtk/gtkmm dll are on /usr/local/bin
gtk/gtkmm dll.a are on /usr/local/lib
gtk/gtkmm include files are on /usr/local/include/...
I don't know exactly If the linker use the dll or the dll.a file.
All gtkmm applications work fine, except for those where a TreeView widget
is present.
But if you can use TreeView, my developpement environement is perhaps
corrupted.
I will try to reinstall all mingw and gtk/gtkmm libs.
Thank-you for your help,
Christophe.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]