Skip to content
eminence edited this page Mar 24, 2011 · 12 revisions

Windows

First, you'll need a compiler. You can either use Visual Studio, or cygwin/mingw.

Building with Visual Studio

You can get a free copy of Visual Studio Express here: http://www.microsoft.com/express/Windows/

You will want the C++ version (Microsoft® Visual C++® 2010 Express)

  1. Get the latest source code from github

  2. From the Start menu, navigate to the 'Microsoft Visual Studio 2010 Express' and open the 'Visual Studio Command Prompt (2010)' shortcut.

  3. cd to the folder containing the Overviewer source code

  4. First try a build:

    c:\python26\python setup.py build

If you encounter the following errors: error: Unable to find vcvarsall.bat then try the following:

set DISTUTILS_USE_SDK=1
set MSSdk=1
c:\python26\python setup.py build

If the build was successful, there should be a c_overviewer.pyd file in your current working directory.

Building with mingw

TODO fill out this section

Linux

You will need the gcc compiler, which is normally installed by default.

You will need the following packages (at least):

  • python-imaging (for PIL)
  • python2.6-dev
  • python-numpy

Then to build: python2.6 setup.py build

OSX

TODO fill this out.

Clone this wiki locally