When building your Geant4 application, you should see the “/home/neera/root
” string quite a few times in your “make.log.txt” file (otherwise you application does try to not use ROOT at all).
Your ROOT uses “-std=c++14
” but your Geant4 uses “-std=c++11
” (see your “make.log.txt” file). They will not play together.
You need to have ROOT and Geant4 built so that they all use the same C++ standard (i.e., C++11
or C++14
or C++17
): ROOT Forum → Search → Geant4 C++ standard