mingw32-gtk2, gtk-demo fails on loading images.

Richard W.M. Jones rjones at redhat.com
Sat Feb 28 15:24:13 UTC 2009

[Note that mingw32-gtk2 is in Fedora, but we're not yet building it
because there are some unreviewed dependencies:
https://bugzilla.redhat.com/show_bug.cgi?id=467408 mingw32-jasper
https://bugzilla.redhat.com/show_bug.cgi?id=467419 mingw32-pango ]

On Fri, Feb 27, 2009 at 02:53:25PM +0100, Mikkel Kruse Johnsen wrote:
> Have had some problems running the gtk-demo on windows (and through
> wine) it fails when loading images.
> I talked to "tml" on the #gtk+ IRC and he suggested that mingw32-gtk+
> was compiled without GDI+, so I recompiled it with "--disable-gdiplus
> --without-libtiff" and everyting works fine now. Images is loading.

Do we lose any features by disabling GDI+ support?

We don't have a libtiff package.  Yet Gtk still builds the TIFF pixbuf
loader (libpixbufloader-gdip-tiff.dll).  The libtiff test in Gtk's
configure.in is a bit confusing.  No tiff* messages get printed in the
configure log.

  dnl Test for libtiff
  if test x$os_win32 = xno || test x$enable_gdiplus = xno; then

I looked at the gdk pixbuf loader for TIFF and I don't understand how
it can compile without <tiffio.h>.  Perhaps it is erroneously using
the system header file, but that still leaves open the question of
what library it is linking with.

> Trying to get TIFF support, found mingw32-libtiff
> (http://sourceforge.net/project/showfiles.php?group_id=204414&package_id=245154&release_id=650119) compiled it without problems, but mingw32-gtk+ don't recognice it doing configure.
> Could we compile mingw32-gtk+ without GDI+ and mayby someone could
> figure out why libtiff check fails ?

Got any patches that we can review?


Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 68 OCaml packages (the OPEN alternative to F#)

More information about the mingw mailing list