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+).
intl/gettext, because MinGW installed
libintlv1.2, but GTK wants to overwrite this with v1.1.
gtk-demoto verify your installation.
./configure --prefix=/mingw; make; make install
dfcgen-gtk-0.4.tar.gzto a directory, which is reachable by the MSYS shell.
dfcgen-gtk.exeinto this directory and change to it.
shareand copy the following directories from
dfcgen-gtk.exefrom 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/bin). Copy the DLL also into the directory where
dfcgen-gtk.exeagain and repeat the procedure (until no error).
C:\programs\dfcgen-gtk. You can start
dfcgen-gtk.exedirectly from this location (or create a shortcut on your desktop).