Building ioquake3 on Windows cygwin (mingw)

Windows – cygwin

How to compile ioquake3 using MinGW in a Cygwin environment.

NOTE: These instructions apply to the git version.

  1. Install Cygwin and required packages (see guide below).
  2. Check out the source from git://github.com/ioquake/ioq3.git with git clone git://github.com/ioquake/ioq3.git
  3. Change to the ioq3 directory
  4. Run make

Detailed Guide

Detailed guide based on a post by MAN-AT-ARMS.

1. Install Cygwin

Download the Cygwin setup package from http://cygwin.com/install.html.

Choose either the 32-bit or 64-bit environment. 32-bit will work fine on both 32 and 64 bit versions of Windows. The setup program is also your Cygwin environment updater. If you have an existing Cygwin environment, the setup program will, by default, update your existing packages.

  • Choose where you want to install Cygwin. The entire environment is self-contained in it’s own folder, but you can also interact with files from outside the environment if you want to as well. The default install path is C:\Cygwin.
  • Choose a mirror to download packages from, such as the kernel.org mirrors.
  • Choose a “storage area” for your package downloads.

2. Package selection

The next screen you see will be the package selections screen. In the upper left is a search box. This is where you will want to search for the necessary packages.

These are the package names you’ll want to search for:

  1. mingw64-i686-gcc-core (For building 32bit binaries)
  2. mingw64-i686-gcc-g++ (Also for 32bit… C++ support… not required for ioquake3, but useful for compiling other software)
  3. mingw64-x86_64-gcc-core (For building 64bit binaries)
  4. mingw64-x86_64-gcc-g++ (For 64bit, same as above)
  5. make
  6. bison
  7. git