= MinGW build environment =9 note: NOT FOR THE FAINT OF HEART

Installing MinGW

From http://www.mingw.org/download.shtml, download and install MSYS (MSYS-1.0.10.exe) and msys-DTK ( msysDTK-1.0.1.exe).

Build dependencies

After installing MinGW, we'll build all the dependencies of FreeMix from source. The MSYS binaries and libraries are installed in the default / path (on my machine, c:\msys\1.0). All the things we'll build from source will be installed to /c/devel (from the Windows point of view, c:\devel). I prefer to keep them separate from MinGW/MSYS to be able to delete them and restart from a clean state without reinstalling MinGW.

Before starting, set up the environment with

export PATH=$PATH:/c/devel/bin
export CFLAGS="-I/c/devel/include -L/c/devel/lib"
export PKG_CONFIG_PATH=/c/devel/lib/pkgconfig

Note: setting the include and the library path in CFLAGS is discouraged. Setting them in CPPFLAGS and LDFLAGS would be a cleaner solution, but unluckly autoconf ignores them. If all the world simply used pkg-config, we wouldn't need these hacks...

Most libraries (unless noted otherwise) should build and install with a simple

./configure --prefix=/c/devel
make
make install

Things to build:

Base libraries

GStreamer

You don't need to build every plugin, just the ones you need.

GTK+

Attachments