Build mQ3 with MinGW under Windows

Contents

Install MinGW and MSYS

Download mingw-get-inst installer from MinGW official website (as the time of this writing, the latest version is mingw-get-inst-20101030).

Launch the installer and keep the pre-package catalogs:

Keep the default installation directory:

Check the additional options (MSYS and MinGW devkit):

Install SDL library

Download the SDL development library archive for Windows and MinGW from SDL official website (as the time of this writing, the latest version is SDL-devel-1.2.14-mingw32).

Unpack the downloaded archive to a temporary directory:

Use the Windows Explorer to do the following operations:
  • Copy from the unpacked archive the file bin\SDL.dll to your Windows System32 directory
  • Copy from the unpacked archive the files include\SDL\*.h to the MinGW C:\MinGW\include directory
  • Copy from the unpacked archive the files lib\*.o to the MinGW C:\MinGW\lib directory
  • Copy from the unpacked archive the files lib\*.a to the MinGW C:\MinGW\lib directory

Install Git

Download the Git version control system installer for Windows from Git official website (as the moment of this writing, the latest version is Git-1.7.3.1-preview20101002).

Launch the installer and choose the following path environment option:

Choose the included SSH executable (it is not necessary to work with repositories on QW-DEV):

Keep the default EOL conversion option:

mingw-setup-001.png (15.4 kB) deurk, 20/12/2010 22:36

mingw-setup-002.png (15.9 kB) deurk, 20/12/2010 22:36

mingw-setup-003.png (14.1 kB) deurk, 20/12/2010 22:36

sdl-install-001.png (23 kB) deurk, 20/12/2010 23:04

git-setup-003.png (19.3 kB) deurk, 20/12/2010 23:27

git-setup-001.png (18.5 kB) deurk, 20/12/2010 23:27

git-setup-002.png (16.2 kB) deurk, 20/12/2010 23:27