Installation

Contents

Supported Compilers

Linux - Building from Source using Installer

Please make sure that your system meets all necessary requirements: Requirements for Linux Distributions

First you need to download the installer script mira-installer.sh from http://www.mira-project.org and start it in a console by typing:

> ./mira-installer.sh

You will be asked for a directory you like to install MIRA to and for a number of parallel jobs for the build process. After answering both questions the installation will:

After success you will be presented with a completion message. Note that you should add the environment variables for the path to MIRA as suggested by the installer. You can set the MIRA_PATH environment variable and add the MIRA build folder to LD_LIBRARY_PATH in your .bashrc file :

export MIRA_PATH=/my/path/to/mira
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/my/path/to/mira/lib

Optionally (for convenience), you can add the MIRA binary directory to your PATH:

export PATH=$PATH:/my/path/to/mira/bin

If there are any errors please first have a look at Requirements for Linux Distributions if your system meets all the requirements. If the installation fails at any point you can restart the installer and it will ask you if you like to continue.

After a successful installation you may want to enable additional tools and tab-completion for the bash shell as described here: Mira Extensions for the Bash Shell.

Linux - Building from Source using SVN Repository

Note:
The SVN repository is only accessible for registered developers. Access to the trunk (https://www.mira-project.org/svn/MIRA/trunk) is only available for the MIRA core development team. External SVN users only have access to their path in the repository (e.g. https://www.mira-project.org/svn-extern/MIRA-users/USER-NAME) and to the MIRA release tags (https://www.mira-project.org/svn/MIRA/tags/releases/).

Please make sure that your system meets all necessary requirements: Requirements for Linux Distributions

If you have access to the SVN repository you can checkout the latest version of MIRA:

> svn checkout https://www.mira-project.org/svn/MIRA/trunk MyMIRAFolder

or:

> svn checkout https://www.mira-project.org/svn-extern/MIRA-users/USER-NAME/MIRA MyMIRAFolder

(depending on your SVN access rights)

Set the MIRA_PATH environment variable and add the MIRA build folder to LD_LIBRARY_PATH in your .bashrc file :

export MIRA_PATH=/home/user/wrk/MyMIRAFolder
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/user/wrk/MyMIRAFolder/lib

Optionally (for convenience), you can add the MIRA binary directory to your PATH:

export PATH=$PATH:/home/user/wrk/MyMIRAFolder/bin

Now you can build MIRA. Run make in your MIRA folder:

> cd MyMIRAFolder
> make

In order to build MIRA with CLang instead of GCC type:

> export CC=/usr/bin/clang
> export CXX=/usr/bin/clang++
> make

For more details see Build System.

After a successful installation you may want to enable additional tools and tab-completion for the bash shell as described here: Mira Extensions for the Bash Shell.

Linux - Install Binaries using the Installer

Please make sure that your system meets all necessary requirements: Requirements for Linux Distributions

First you need to download the installer script mira-installer-binary.sh from http://www.mira-project.org and start it in a console by typing:

> ./mira-installer-binary.sh SystemName

The argument SystemName specifies your operating system. At the moment, the following systems are support:

You will be asked for a directory you like to install MIRA. After that, the installation will:

After success you will be presented with a completion message. Note that you should add the environment variables for the path to MIRA as suggested by the installer. You can set the MIRA_PATH environment variable and add the MIRA folder to LD_LIBRARY_PATH in your .bashrc file :

export MIRA_PATH=/my/path/to/mira
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/my/path/to/mira/lib

Finally, the installer will ask you if you like to start mirapackage to install more packages.

Optionally (for convenience), you can add the MIRA binary directory to your PATH:

export PATH=$PATH:/my/path/to/mira/bin

If there are any errors please first have a look at Requirements for Linux Distributions if your system meets all the requirements. If the installation fails at any point you can restart the installer and it will ask you if you like to continue.

After a successful installation you may want to enable additional tools and tab-completion for the bash shell as described here: Mira Extensions for the Bash Shell.

Windows - Building from Source using Installer

Coming soon...

Windows - Building from Source using SVN Repository

Please make sure that your system meets all necessary requirements: Requirements for Microsoft Windows

If you have access to the SVN repository you can checkout the latest version of MIRA:

> svn checkout https://www.mira-project.org/svn/MIRA/trunk MyMIRAFolder

Set the MIRA_PATH environment variable and ensure, that the lib directory is in the PATH environment variable:

  MIRA_PATH = c:\\...\\Path_to_MIRA
  PATH=...;c:\\...\\Path_to_MIRA\\lib

Please make sure, that the path is the real path (not the localized one!). For example, use "C:\Users\..." instead of "C:\Benutzer\...".

Optionally (for convenience), you can add the MIRA binary directory to your PATH:

  PATH=...;c:\\...\\Path_to_MIRA\\bin

Now you can build MIRA. Run make in your MIRA folder:

> cd MyMIRAFolder
> nmake /f Makefile.nmake

For more details see Build System.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 22 Nov 2018 for MIRA by  doxygen 1.6.1