Using the geant4-config to set the compiler flags with the 10.7 I get the following compiler error (while for the previous release it was working):
In file included from /soft/geant/debug/bin/../include/Geant4/G4Profiler.hh:43, from /soft/geant/debug/bin/../include/Geant4/G4Run.hh:33, from run.h:12, from messenger.cc:19: /soft/geant/debug/bin/../include/Geant4/G4Profiler.icc:44:12: fatal error: PTL/Globals.hh: No such file or directory 44 | # include "PTL/Globals.hh" | ^~~~~~~~~~~~~~~~ compilation terminated.
It seems that there is an extra include directory include/PTL not under the include/Geant4 however the geant4-config --cflags returns only
Changing the geant4-config: includedirs variable to the following
everything works ok.