Problem in detecting header files of geant4 in the simulation

Which version of Geant4 is being used? G4RunManagerFactory.hh is only available from version 10.7, and the CMakeLists.txt otherwise looks fine.

You can also run make VERBOSE=1 to get the complete compiler command used to check that the include paths point where you expect.

1 Like