Please read tips for efficient and successful posting and posting code
Hi guys!!!
i’m learning how to run simulation into Geant4 but in my attempt, while bulding the application i got this error:
[ 4%] Building CXX object CMakeFiles/emphaticSim.dir/emphaticSim.cc.o
In file included from /emph/app/ydeniz/EMPHATIC/DetectorSim/EMPHATICSim/emphaticSim.cc:3:0:
/emph/app/ydeniz/EMPHATIC/DetectorSim/EMPHATICSim/include/EMPHATICSimAnalysisManager.hh:6:19: fatal error: TTree.h: No such file or directory
#include <TTree.h>
The cmake flags i’m using are:
cmake -DGeant4_DIR=.../lib64/Geant4-10.xxx .../DetectorSim/EMPHATICSim
I don’t know where it came from… I did not set up ROOT from source when installing it, and use the just binaries as suggested here instead (installation without make && cmake
)
Any suggestion would be appreciated, thanks for your time guys
i just attache the cmakelist of my application for more reference.
MYCMAKELIST.txt (2.9 KB)
ROOT Version: 6.22/02
Platform: SLF 7.8