Issues with headers when compiling example application

It’s probably that the found Geant4 install is pre 11.0, see for example Problem in detecting header files of geant4 in the simulation - #2 by bmorgan. What commands did you use to set things up from cvmfs?