Error: Macro TOC(None) failed
__init__() takes exactly 3 arguments (2 given)

Build Monkey Studio From Source

To be able to build Monkey Studio from Source you must have a working Qt4 installation on your platform. We wont discuss here how to set up Qt4 for your platform. This is covered in the Qt Documentation.

Getting Start

  • Working Qt 4 version ( 4.4.0 minimum )
  • Monkey Studio v2 sources

Get the Code

So, you have Qt4 working and know how to run qmake (on some distros its called qmake4 or qmake-qt4) you should proceed with getting the Code from somewhere. To get it you can:

  • Download a zip/tar package
  • Checkout from subversion

Downloading a package

Propably the easiest way to get some code is to just download the package. You can get it from Sourceforge.net. Whatever package you choose, unpack it!

You now should have a !monkeystudio ( or trunk if you download sources from svn ) directory, enter it and follow the Instructions in Build the Code.

Checkout from subversion

To get the Code from subversion you need to have subversion installed, obviously.
The Repository is located at svn://monkeystudio.org/monkeyrepos.

To get the latest public code run:

 svn co svn://monkeystudio.org/monkeyrepos/v2/trunk monkeystudio/

Build the Code

Change into the Directory you either unpacked or checked out from subversion. In it is the Qt project file with which you have to create your platforms Makefile from. To do that run:

  qmake monkey.pro

QMake will create the Makefile with which you now can build the source by running:

 make release

or

 make debug

The compile will take a little while, depending on your machine. It should end with a binary file in the bin/ folder.

To just test the freshly compiled Monkey Studio run it and enjoy.

* Old Monkey Studio Build tutorial

Cheers
The Monkey Team