1) Install C compiler

http://sourceforge.net/project/showfiles.php?group_id=2435

Install MinGW using Automated installer (MinGW-5.1.4.exe)

Make sure you add the option to install MinGW Make

Add C:\MinGW\bin; to the system path, On Windows XP, Control panel->System->Advanced->Environment Variables->System Variables

Optionally install the gdb debugger from the above site too.

2) Install Allegro Libraries

Compiled using version 4.2.2 of Allegro.

http://www.talula.demon.co.uk/allegro/wip.html

I used the 'Binary version (only for Windows)' -> 'Allegro Binary Packages', and on the linked page picked the mingw package. allegro-mingw-4.2.2.zip Extract over the top of the MinGW install. Copy the three .dll files from C:\MinGW\bin to C:\Windows\System32 or equivilent

3) Compile RPCemu

cd rpcemu/src
mingw32-make -f makefile.mingw