-
Install the required libraries and tools.
Refer to theRequirements
section of this document for details. -
Create a directory where the built programs will be placed, e.g. in the main directory:
mkdir build
cd build
-
Invoke the CMake build tool and provide the path to the source directory as well as path to install. If you created the build directory in the main one and entered
build
as in step 2. then do:
cmake -DCMAKE_INSTALL_PREFIX=<install_path> ..
-
To compile the Unpacker2 Library do:
make
-
Once the compilation is finished, you can run tests with:
ctest
or install libraries in<install_path>
using:make install
NOTE: Full install procedure with tips and troubleshooting can be found on PetWiki
-
gcc
-
cmake Atleast cmake 3.1
-
ROOT
Works with ROOT 6 (tested 6.10/08) -
BOOST Atleast boost 1.50
-
Optional, if you want to generate documentation: Doxygen
To generate .deb package after compilation type:
cpack
or to generate .tar.gz package type:
cpack -G TGZ