Translations of this page:

Build tools

NOTE: The compiler used for MESS and MAME has changed since the release of 0.136. You will need to get different build tools depending on if you are compiling from SVN or the 0.136 release source.

This page is basically a mirror of the MAME development tools page. MAME and MESS are usually compiled using the free GCC compiler. Currently we are using a pre-release of version 4.4.3, included with the mingw-w64 development environment.

You can either get the various tools yourself from the mingw-w64 download page, or use the packages below that Aaron Giles put together.

Root directory

Create a directory for the tools, usually this will be simply called mingw.

MinGW package

Choose one:

Move the .exe file into your mingw directory and run it. This will extract the compiler, various tools, libraries and standard include files.

HTML Help Workshop

Optional…

If you want to be able to build the mess.chm help file, you will need the HTML Help Workshop, otherwise you can skip this… If you want to build the help file, the HTML Help Workshop can be downloaded from microsoft.com using the link below. Download htmlhelp.exe from this page…

If you install this, make sure to add the directory where it installs hhc.exe to your path either in your global %PATH% environment variable, or local each time you want to compile. The default path where it installs is: C:\Program Files\HTML Help Workshop

DirectX

For the 0.136 compile tools, you will also need DirectX headers, which are not included in the above package. Download dx80_mgw.zip and extract the following files into your mingw/include directory:

  • d3d8.h
  • d3d8caps.h
  • d3d8types.h
  • ddraw.h
  • dinput.h
  • dsound.h

Path

All that is left is to add the compiler to your path, either in your global %PATH% environment variable, or local each time you want to compile.

SVN 64-bit:

set path=mingw\mingw64-w64\bin;%PATH%

SVN 32-bit:

set path=mingw\mingw64-w32\bin;%PATH%

0.136:

set path=mingw\bin;%PATH%
build_tools.txt · Last modified: 2010/06/12 05:40 by star2doc
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported