How to find path_to_ROOT6_installation and path_to_ROOT6_libraries

Hi,

I want to install HepMC3 following this gitlab page

In point number 4 it says: In order to build with ROOTIO put the following flags and define LD_LIBRARY_PATH:

-DHEPMC3_ENABLE_ROOTIO=ON -DROOT_DIR=path_to_ROOT6_installation
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:path_to_ROOT6_libraries

how can I know the ‘path_to_ROOT6_installation’ and ‘path_to_ROOT6_libraries’ ? I did my installation using Alibuild as I do analysis in the ALICE collaboration.

_ROOT Version:ROOT 6.20/08
_Platform:CentOS 7

Thanks for your help,
Omar

Hello,

you can use the $ROOTSYS environment variable for “path_to_ROOT6_installation” and a call to $(root-config --libdir) for “path_to_ROOT6_libraries”.

Cheers,
Jakob

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.