In fact, I am sourcing /cvmfs/…./LCG_105/x86_64-el9-clang16-opt/setup.sh
When going from sourcing LCG-101/x86_64-centos7-clang12-opt/setup.sh , (Geant 4.10.07p02, Cmake 3.20, Qt 5.12.4, RHEL7) to LCG-105, I runned into the following errors when visualizing , nothing change in the code or in the vis.mac
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : visman0202
issued by : G4Scene::CalculateExtent
Scene has no extent. Please activate or add something.
The camera needs to have something to point at!
Add a volume. (You may need "/run/initialize".)
Or use "/vis/scene/add/extent".
"/vis/scene/list" to see list of models.
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
The same kind of message is occurring several times.
The graphic window is created but empty, although all elements are listed in SceneTree
I added /run/initialize before /vis/drawVolume in the macros with no effect
Thank you for the advice. Could it be that I finally made a post because I spent a fair amount of time in digging into the problem ? I am not an expert, neither in display nor in graphic packages.
Though I can appreciate that I did not give enough details. The application is not a Geant4 example but the simulation program of our collaboration, and was not changed.
I naively thought that the problem being due to a change of plateform or to a change of Geant version (since nothing else changed), somebody had encountered it before and could give some clue:
on what to verify
librairies to check
way of coding not tolerated any more in the new version …
Best regards, Corinne Goy