VERSION 0.10


REQUIREMENTS

Minimum

For MAC users:

  • Latest version of xcode is preferred

  • For Mac OSX 10.7+ install XQuartz as an alternative to X11. Note: X11 is needed only for the purpose of visualisation.

HOW TO OBTAIN MERCURYDPM

For Windows users:

  • Install cygwin to get few of the above packages, goto http://cygwin.com/install.html. Download and open the executable (.exe).

  • Use default instructions until you are asked to select packages, see here.

  • Make sure to include the following packages during the installation process (They are found under Devel):

    1. Complete X11 package

    2. cmake: Cross-platform makefile generation system

    3. cmake-gui: Cross-platform makefile generation system (GUI)

    4. Note: cmake-gui is not available in the 32-bit version of cygwin. use ccmake instead (which comes with cmake)

    5. make: the GNU version of the 'make' utility

    6. optional: install gnuplot and gnuplot-x11 (a simple plotting visualiser)

  • Advise: keep your cygwin updated.


INSTALLATION STEPS

For Mac/Linux users

  • Open the terminal or shell. Create a directory called "MercuryDPM", at a location of your choice, by typing

mkdir MercuryDPM


  • To get into mercuryDPM, type

cd MercuryDPM/


  • Once in the folder MercuryDPM, download or check out the beta version of the DPM source by typing

svn checkout https://svn.MercuryDPM.org/SourceCode/Release/0.10 MercurySource

The above command downloads the DPM source code into the folder named "MercurySource"


  • In the current folder, i.e. mercuryDPM, create another directory called "MercuryBuild"

mkdir MercuryBuild


  • Get into the folder "MercuryBuild" by typing

cd MercuryBuild


  • With cmake GUI

    • Assuming cmake is successfully installed, goto directory "MercuryBuild" in order to create the executables from the source code. Do it by typing

cmake-gui ../MercurySource/

    • A GUI pops up on your screen as in the picture shown below