Building FreeType 2 on Windows

First, get the latest source from http://freetype.sourceforge.net/download.html#stable and extract it in a convenient place, then configure, build and install it:

$ LDFLAGS="-no-undefined" ./configure --prefix=/opt/ft
$ make all install

Note that configure will report that you are running on Unix, but that's OK. You're not running on Unix, but you're running on MinGW, which is a POSIXish environment, which is what configure really means by “Unix”.