The problem of run scoring.mac

Hi Dear G4 user! I’m a G4 beginner, I try to run some example but I got some problem below when running the Scoring.mac. Can someone help me ?

The macro file itself seems to work properly. The error message says you haven’t properly initialized the visualization system. If you intend to run your code in batch mode without any visualization, remove any drawing commands from your macro file.

ok ! thank for your request