Hello.
I am a new user to GEANT4. When I am trying to run the example B1 program (geant4-v11.0.0-install/share/Geant4-11.0.0/examples/basic/B1), I got the following error.
I did not change anything in the original *.cc and *.hh programs.
Please guide me how to resolve it.
thanks in advance.
Could you check the contents of the CMakeCache.txt file in the directory where you ran cmake for the Geant4_DIR variable, and confirm this points to the Geant4 install you want to use please? I’d suspect that it might be picking up an install pre-11.0, where the UseBestUnit member function was introduced.
Thank you very much for your response. I will try it.