i am just a beginner user on Geant4. i have to tried LaBr3 code via https://github.com/giglio0/DRAGON-G4-LaBr3.git. after the configuration while creating build files with make command, the process send a error message.
Scanning dependencies of target LaBr3_v4
[ 9%] Building CXX object CMakeFiles/LaBr3_v4.dir/LaBr3_v4.cc.o
[ 18%] Building CXX object CMakeFiles/LaBr3_v4.dir/src/DetectorConstruction.cc.o
[ 27%] Building CXX object CMakeFiles/LaBr3_v4.dir/src/DetectorMessenger.cc.o
[ 36%] Building CXX object CMakeFiles/LaBr3_v4.dir/src/EventAction.cc.o
[ 45%] Building CXX object CMakeFiles/LaBr3_v4.dir/src/HistoManager.cc.o
/home/cancan/Gatev9/example_Geant4/LaBr/LaBr3/src/HistoManager.cc:29:10: fatal error: TH1D.h: No such file or directory
29 | #include <TH1D.h>
make: *** [CMakeFiles/LaBr3_v4.dir/build.make:134: CMakeFiles/LaBr3_v4.dir/src/HistoManager.cc.o] Error 1
make: *** [CMakeFiles/Makefile2:95: CMakeFiles/LaBr3_v4.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
in the begining i thought it was about root libraries so that i re-install the root with use “-Dall=ON”. i hoped it could be fix the error but couldn’d. After that, i checked the Cmakelist of the repo but like i said before i coundn’t see HistoManager.cc file list of the sources. maybe you thing i am silly but i said before i am just beginer so i added source directory of histomanager.cc among of source list in cmakelist.txt file. Of course it wasn’t also work.
Can anbody help me?