Visualization command not working

Please fill out the following information to help in answering your question, and also see tips for posting code snippets

Geant4 Version: 10.7.4
Operating System: Ubuntu 20
Compiler/Version: gcc 9.4.0


I have compiled in visualization according to the instructions using CMAKE and setting the variable GEANT4_USE_OPENGL_X11=ON.

Despite this I get the following:

---> I am in a smart tcsh terminal ;-) .
 Macro macros/pube_coin.mac is being run 
***** COMMAND NOT FOUND </vis/scene/create> *****

***** Batch is interrupted!! *****

-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : UIMAN0123
      issued by : G4UImanager::ApplyCommand
Command aborted (100)
Error code : 100
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------

Does it mean that my visualization is not compiled correctly? Or have the macro commands changed or something?

Hi, I would recommend to try running one of the Geant4 basic examples to check. If it runs correctly, then is something in your simulation. It can be related to the creation of the G4VisManager object in the main file. I would start by comparing it with the examples.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.