I am attempting to build gtkmm for a computer with a 64-bit
Windows 7 operating system.
For this attempt I am using the compiler from the mingw-w64
project (as a native compiler
for the Windows 7 system, in the msys environment).
It appears that I have been successful in building all the
packages that gtkmm depends on
(libsigc++, glibmm, cairomm, and pangomm), and I used the
all-in-one bundle from GTK+
(gtk+-bundle_2.16.6-20090912_win64.zip).
Configure runs for gtkmm with no complaint, and the make
proceeds happily along for a long time,
but fails at a link statement near the end of the build.
Can anyone give me advice on what is causing this problem
and how to solve it? Thanks!
Here is an abridged version of the terminal output:
Making all in demos
make[2]: Entering directory
`/home/JamesCTilton/Downloads/gtkmm-2.16.0/demos'
Making all in gtk-demo
make[3]: Entering directory
`/home/JamesCTilton/Downloads/gtkmm-2.16.0/demos/gtk-demo'
/bin/sh ../../libtool --tag=CXX --mode=link x86_64-w64-mingw32-g++ -g
-O2 -mms-bitfields -Wall -o gtkmm-demo.exe
example_appwindow.o
example_buttonbox.o example_change_display.o example_colorsel.o
example_dialog.o
example_drawingarea.o example_images.o example_iconview.o example_menus.o
example_panes.o
example_pixbufs.o example_sizegroup.o example_stockbrowser.o
example_uimanager.o
example_textview.o example_treeview_editable_cells.o
example_treeview_liststore.o
example_treeview_treestore.o demowindow.o main.o textwidget.o demo-common.o
../../gdk/gdkmm/libgdkmm-2.4.la ../../gtk/gtkmm/libgtkmm-2.4.la
-LC:/msys/1.0/local/lib -Lc:/GTK+/lib -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4
-lcairomm-1.0 -lsigc-2.0
-lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0
-lpangowin32-1.0 -lgdi32 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
-lgmodule-2.0 -lglib-2.0 -lintl
x86_64-w64-mingw32-g++ -g -O2 -mms-bitfields -Wall -o .libs/gtkmm-demo.exe
example_appwindow.o example_buttonbox.o example_change_display.o
example_colorsel.o example_dialog.o example_drawingarea.o example_images.o
example_iconview.o
example_menus.o example_panes.o example_pixbufs.o example_sizegroup.o
example_stockbrowser.o example_uimanager.o example_textview.o
example_treeview_editable_cells.o
example_treeview_liststore.o example_treeview_treestore.o demowindow.o
main.o textwidget.o demo-common.o ../../gdk/gdkmm/.libs/libgdkmm-2.4.a
-LC:/msys/1.0/local/lib -Lc:/GTK+/lib ../../gtk/gtkmm/.libs/libgtkmm-2.4.a
/home/JamesCTilton/Downloads/gtkmm-2.16.0/gdk/gdkmm/.libs/libgdkmm-2.4.a
/home/JamesCTilton/Downloads/gtkmm-2.16.0/atk/atkmm/.libs/libatkmm-1.6.dll.a
/usr/local/lib/libgiomm-2.4.dll.a /usr/local/lib/libpangomm-1.4.a
/usr/local/lib/libglibmm-2.4.dll.a
/usr/local/lib/libcairomm-1.0.a -lfreetype -lfontconfig -lpng12 -lz
/usr/local/lib/libsigc-2.0.dll.a -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0
-lgio-2.0
-lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpangocairo-1.0 -lpango-1.0 -lcairo
-lgobject-2.0
-lgmodule-2.0 -lglib-2.0 -lintl -L/usr/local/lib
example_buttonbox.o:
C:\msys\1.0\home\JamesCTilton\Downloads\gtkmm-2.16.0\demos\gtk-demo/example_buttonbox.cc:83:
undefined reference to `_imp___ZN3Gtk5Stock2OKE'
example_buttonbox.o:
C:\msys\1.0\home\JamesCTilton\Downloads\gtkmm-2.16.0\demos\gtk-demo/example_buttonbox.cc:86:
undefined reference to `_imp___ZN3Gtk5Stock6CANCELE'
(Many other similar messages)
demowindow.o:
C:\msys\1.0\home\JamesCTilton\Downloads\gtkmm-2.16.0\demos\gtk-demo/demowindow.cc:144:
undefined reference to
`_imp___ZN3Gtk14TreeViewColumnC1ERKN4Glib7ustringERNS_12CellRendererE'
demowindow.o:
C:\msys\1.0\home\JamesCTilton\Downloads\gtkmm-2.16.0\demos\gtk-demo/demowindow.cc:146:
undefined reference to
`_imp___ZN3Gtk14TreeViewColumn13add_attributeERKN4Glib18PropertyProxy_BaseERKNS_19TreeModelColumnBaseE'
collect2: ld returned 1 exit status
make[3]: *** [gtkmm-demo.exe] Error 1
make[3]: Leaving directory
`/home/JamesCTilton/Downloads/gtkmm-2.16.0/demos/gtk-demo'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/JamesCTilton/Downloads/gtkmm-2.16.0/demos'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/JamesCTilton/Downloads/gtkmm-2.16.0'
make: *** [all] Error 2
____________________________________________________________________________
Dr. James C. Tilton Voice: 301-286-9510
NASA Goddard Space Flight Center FAX: 301-286-1776
Mail Code 606.3 E-Mail:
James C Tilton nasa gov
(Computational & Information Sciences and Technology Office)
Greenbelt, MD 20771
URLs: http://ipp.gsfc.nasa.gov/RHSEG/ and
http://cisto.gsfc.nasa.gov/TILTON/