Re: [gtkmm] gtkmm2 win32 compile errors



Hi,

I had no problems compiling libsigc++-1.1.13 and gtkmm-1.3.20 using mingw. I use the cygwin distribution for the bash shell and the autotools though ! I have never tried with msys. I guess your problem is related to a wrong detection of the win32 platform by the configure script. Pangomm depends on glibmmm. While this is not a problem with unix-style shared library, glibmm should be explicitly included at link time when creating a DLL. Library dependencies are included in the Makefile.am's, as long as a "supported" win32 platform was detected by configure script.

Could you please send me :

1. The output of the configure script (standard output).
2. The config.log file.

Also, I just realized that the gtk/gtkmm/wrap_init.cc file provided by the source distribution contains references to sockets and plugs which is not compatible with gtk+ on win32. This means that compiling on win32 from the source distribution requires to enable maintainer mode and to delete this wrap_init.cc file (it will be recreated by a perl script).

Cedric

At 12:30 PM 8/15/2002 -0500, DANIELS, NATHANIEL E wrote:
Hello all,

        I've been trying for a little while now to compile gtkmm2 on a win32
system.  I have been able to compile gtk+-2.0.6, glib-2.0.6, and the latest
versions of atk and pango using the MSVC build files, and have been able to
compile the tests and examples using msys (mingw32).  libsigc++ also
compiles fine with msys, but when I try and compile gtkmm2 I always get this
error:

 gcc -mpentium -fnative-struct
-Wl,--base-file,.libs/libpangomm-0.0-14.dll-base -mdll
-Wl,-e,_DllMainCRTStartup 12 -o .libs/libpangomm-0.0-14.dll  attrlist.lo
context.lo coverage.lo font.lo fontdescription.lo fontface.lo fontfamily.lo
fontmap.lo fontmetrics.lo fontset.lo glyphstring.lo layout.lo layoutiter.lo
layoutline.lo tabarray.lo wrap_init.lo  -Lc:/mingw/lib -lstdc++
.libs/libimp-glibmm-1.3-14.a .libs/libimp-sigc-1.1-5.a -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
attrlist.lo: In function `_Q25Pango8AttrListRCQ24Glib7ustringUi':
//C/mingw/1.0/home/n723273/gtkmm-1.3.20/pango/pangomm/attrlist.cc:35:
undefined reference to `Glib::ustring::c_str(void) const'
attrlist.lo: In function
`_Q25Pango8AttrListRCQ24Glib7ustringUiRQ24Glib7ustringRUi':

I don't think that this is a problem with gtkmm2, because I get the same
error with version 1.3.18,1.3.19, and 1.3.20.  Does anyone have any
sugesstions as to what I might be missing ?  Thanks for your time.


Nathan Daniels
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list




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