Installation Instructions for for CbmRoot
1. Dependencies
1.1 Compiler
To be able to compile CbmRoot, the required compiler strongly depends on the used FairSoft version. When using FairSoft jun19p3 a compiler with full C++11 support is enough. In this case GCC since version 4.8 and clang since version 3.4 are known to work without problems. If FairSoft apr21p2 is used a compiler which supports C++17 is needed. A GCC beginning from version 7 and clang beginning from version 6 should be okay.
1.2 FairSoft
To install, compile, and run CbmRoot, several external programs are required. These are for example Root, Geant3 or Geant4 and many others. Installing these is the first step of the CbmRoot installation. As the individual installation of each of these programs is very time consuming, the FairRoot team provides a software bundle known as FairSoft, which contains all the needed packages, and also provides tools for its automated installation on several platforms. The most up-to-date information regarding the installation of FairSoft, together with a complete list of the contained packages, can be found on the project's GitHub page:
https://github.com/FairRootGroup/FairSoft
This page should be considered the primary source of information regarding FairSoft, which takes precedence over any others (which may in some cases be outdated). Additional information, for instance regarding older versions, can be found on Cbm Redmine:
https://redmine.cbm.gsi.de/projects/cbmroot/wiki/Install_External_Packages
We recommend to always use the latest FairSoft release version. Currently this is "apr21p2", which is compatible with the latest version of CbmRoot. Different combinations of older versions of FairSoft, FairRoot and CbmRoot may work in principle, but are not endorsed or actively supported.