Installing the toolchain

This section is preliminary setup - once this has been completed, you can rebuild monotone regularly using only the instructions in the next section.

Package Version URL
Visual C++ 2005 Express Edition 8.0
Windows Server 2003 R2 Platform SDK 3/14/2006
Boost 1.33.1
iconv 1.9.2
zlib 1.2.3

Newer versions of the tools listed above are likely to work without too much trouble.

Installation instructions

  1. Visual C++ 2005 Express Edition - full install.

  2. Windows Server 2003 R2 Platform SDK - full install.

  3. Follow the Visual C++ 2005 Express Edition configuration instructions here:

  4. Update vsvars32.bat using the instructions here:

  5. iconv - full install.

  6. zlib - full install.

  7. boost - follow the VS8 instructions here:

Building monotone

  1. Install a pre-built monotone binary from
  2. Follow the instructions at MonotoneProjectServer to get a copy of the monotone repository.
  3. mtn -d path/to/ -b net.venge.monotone co monotone
  4. In Visual C++ 2005 Express Edition, open monotone/visualc/monotone.sln
  5. Select either the 'debug' or 'release' target from the toolbar dropdown.
  6. Review the C++ include path and Linker include path to ensure the paths to ?GnuWin32 (for iconv and zlib) and Boost are correct.
  7. Build the solution.
Quick Links:    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status