Building GTK+ and Dependencies on Win32

Try the MinGW build

Having failed multiple times with the auto* tools build on win32 (which usually works quite flawless on *NIX) I have done another attempt following Owen's nice description. Trying to repeat some month later the MinGW guys have removed the MingGW-3.2.x.exe and established a new installation. So the old (working) description is only of historic interest. Let's try again

Installation

Here are my notes about differences:

Need for Speed

Another way - and still my preferred - is to use the Micro$oft toolchain. This may be a little tedious cause sometimes the extra makefiles get out of sync. But with a little more manual work you can gain a lot of cpu cycles.

Still Not Enough?

The described dependencies are almost enough to compile Dia, which has some extra code to optionally not depend on freetype. But if you plan to build The GIMP there is some more required. At least you need Pango/FT2 which requires fontconfig and freetype2.

For me this was the point where I lost fun in building it all myself [2] ;) So go download freetype and fontconfig pre-built packages

Bloated or Rich of Features?

If you think current GTK+ is bloated you may want to take a look at gtk+1.3. Otherwise - especially if you think it's too fast and lloks ugly - you may be interested in the upcoming version.

[1] In general it is a bad idea to mix different C-ruintimes in one program. The official C-runtime for all of GTK+ is msvcrt.dll which came with vc 5.0 up to vc 6.0 and can be considered as part of the operating system.

[2] I've tried to explain the trouble which using two font engines in one program is. Also I tried to work around it one way or another but finally threre was too much resistance or maybe my reasons are just not convincing enough, i.e. noone cares for some extra seconds start-up time and even not about some random brokeness.


[Gimp] [PDB] [DIA] [Ports] [HOME]