Return

Procedure covering the installation for installing and compiling from SVN Archive.

Downloading necessary files to compile the Warzone 2100 GPL Releases (windows)

By Rodzilla

 

Downloading necessary files

  1. msys : http://prdownloads.sourceforge.net/mingw/MSYS-1.0.10.exe?download
  2. mingw : http://prdownloads.sourceforge.net/mingw/MinGW-4.1.0.exe?download
     
  3. msysdtk : http://prdownloads.sourceforge.net/mingw/msysDTK-1.0.1.exe?download
  4. bison : http://prdownloads.sourceforge.net/gnuwin32/bison-2.1.exe?download
  5. flex : http://prdownloads.sourceforge.net/gnuwin32/flex-2.5.4a-1.exe?download
  6. tortoiseSVN : http://prdownloads.sourceforge.net/tortoisesvn/TortoiseSVN-1.2.6.4786-svn-1.2.3.msi?download
  7. dev package : http://rodzilla.free.fr/wz2100/warzone_install/dev_package.exe
     

Installing the development environment

Start msys installation

Run the MSYS installer and let the wizard guide you through the installation. When finished with the wizard, a command window will open to "normalize" the MSYS install.
You will have to install MinGW before doing this...

MSYS normalization window

Remember the directory where you installed msys (e:\msys for me) because it will be useful for the following steps.
 

Install MinGW

  1. Run the MinGW setup program
     
  2. Select e:\msys\mingw
     
  3. Install current versions of CORE, compilers and utilities files (should be the default choice)

    MinGW packages

     
  4. select:   
     

     

  5. continue through the installation wizard

 

Finish msys installation

Now it's time to do this normalisation stuff. You will be prompted for the directory where you installed MinGW. It should be located directly inside the MSYS directory.
Be careful, the path notation is not exactly what you're used to with Windows.

MSYS normalization

Now you have a working environment and you could already use it to compile stuff.
 

Install the msys developer toolkit

Install flex and bison

Select e:\msys\mingw as installation directory.
 

Getting Warzone 2100 sources from the SVN repository

  1. Locate your home directory e:\msys\home\Rod and create a link for this directory on your desktop
  2. Create a warzone directory inside your home directory
  3. Checkout sources from svn using one of the following URLs :
     

Compiling Warzone 2100

Launch MSYS
Enter the warzone directory (cd warzone)
Compile (make -f Makefile.raw)

Compiling warzone is easy