This is a step-by-step guide for building a GTK+ application on Win32 using Minimalist GNU for Windows (MinGW). I will do that by example, namely DFCGen (GTK+).
MinGW 20110802, using the associated installer mingw-get-inst-20110802.exe).1)intl/gettext, because MinGW installed libintl v1.2, but GTK wants to overwrite this with v1.1.gtk-demo to verify your installation../configure --prefix=/mingw; make; make install
dfcgen-gtk-0.4.tar.gz to a directory, which is reachable by the MSYS shell.make install):./configure; make
dfcgen-gtk.exe into this directory and change to it./mingw/etc → ./etc/mingw/lib/gtk-2.0 → ./lib/gtk-2.0data/filters → share/filtersdata/pixmaps → share/pixmapsdata/templates → share/templatesdfcgen-gtk.exe from a DOS shell or from the file manager. This will produce an error, stating that a DLL is missing. Typically this is a DLL from the GTK+ package, which can be found anywhere under /mingw (probably in /mingw/bin). Copy the DLL also into the directory where dfcgen-gtk.exe now resides.dfcgen-gtk.exe again and repeat the procedure (until no error)./mingw/share/locale/de/LC_MESSAGES → ./share/locale/de/LC_MESSAGESdfcgen-gtk build directory: po/de.gmo → ./share/locale/de/LC_MESSAGES/dfcgen-gtk.mo (file renamed).C:\programs\dfcgen-gtk. You can start dfcgen-gtk.exe directly from this location (or create a shortcut on your desktop).C:\MinGW is mounted on /mingw.