Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.28 KB

INSTALL.md

File metadata and controls

45 lines (31 loc) · 1.28 KB

Installation

Basic steps

  1. Install the required libraries and tools.
    Refer to the Requirements section of this document for details.

  2. Create a directory where the built programs will be placed, e.g. in the main directory:
    mkdir build
    cd build

  3. 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> ..

  4. To compile the Unpacker2 Library do:
    make

  5. 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

Requirements

  1. gcc

  2. cmake Atleast cmake 3.1

  3. ROOT
    Works with ROOT 6 (tested 6.10/08)

  4. BOOST Atleast boost 1.50

  5. Optional, if you want to generate documentation: Doxygen

CPack

To generate .deb package after compilation type: cpack or to generate .tar.gz package type: cpack -G TGZ