Geant4 is not working properly

_Geant4 Version:_11.3
_Operating System:_Linux ubuntu-24.04
_CMake Version:_4.0.1

—I am typing all programs and commands properly but Geant4 is not giving proper results give errors also root and openGL has installed but not working

Hi Nida

Can you give us a little more information? “not working properly” is not very much to go on.

John



Sir I am typing the code correctly but I can not get the results and also geant4 is not showing the visual effects if any command works

Hi Nida

The first screen shot shows it cannot find g4root.hh. Why did you include it? It does not seem necessary. Simply remove it.

Given that the above error caused compilation to terminate (as it says), how did you get an executable that is shown in the other screen shots?

John