Requirements
The enviroment must be set up according to the guide
OpenCMT Castor Simulator: building the code
The source code for the Image Builder is stored in Baltig
Since the source code of the Image Builder can be downloaded only by the authorized developers, credentials for Baltig are necessary.
The simplest way is using RSA keys, the public key must be uploaded into Baltig and the private key must be saved into ${HOME}/.ssh/id_rsa
Once git client has been correctly configured the commands are:
git clone git@baltig.infn.it:muontomography/castor-simulator.git cd castor-simulator
These are the steps required for building the Image Builder and install it in the system:
cmake3 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPACKAGE_INSTALL_LIB_DIR=/usr/lib64 ..
The libraries and header files are installed in the standard locations for the CentOS 7 system, so there's no need to further configurations.
OpenCMT Castor Simulator: testing the application
TODO