Skip to content

MinGW Build Tutorial

Nicholas "LB" Braden edited this page Oct 10, 2013 · 31 revisions

NOTICE: This tutorial is still under construction, and may be incomplete!

This tutorial teaches you how to:

  • Download and install MinGW
  • Download and build Boost (unless you have a 64-bit computer)
  • Download, build, and install SFML
  • Build and Run ChessPlusPlus

Installing MinGW for 32-bit Computers

MinGW, short for "Minimalist GCC for Windows", is a compiler for Windows based on the GCC compiler.

To start, download the MinGW installer from here:

http://sourceforge.net/projects/mingw/files/ "mingw-get-setup.exe"

Install the manager, and when the window opens, make sure you install at least these components:

Then, from the menu, choose "Installation" -> "Apply Changes", then click "Apply". Then, you just have to wait for everything to be downloaded and installed for you. While you wait, you can also read through later steps so you know what you're in for.

Installing MinGW for 64-bit Computers

This is significantly easier, since there is a distribution known as "nuwen MinGW" which has boost already included, among other things.

To download and install, simply download nuwen MinGW from here:

http://nuwen.net/mingw.html

Downloading & Building Boost (32-bit only)

Note: skip this step entirely if you have a 64-bit computer.

Downloading & Building SFML

Note: you must perform this step whether you have 32 or 64 bit.

Clone this wiki locally