
In my things, I use MacPorts for all my X11 things, and I changed them to enforce the usage of libGL coming from that. (Then you should see in the link command : /opt/local/lib/libX11.dylib and /opt/local/lib/libGL.dylib). Then when building your example, cross check the link command and run… It should pass… (with G4 dylibs or.
XQUARTZ 2.7 5 INSTALL
Sudo port install mesa (or glxinfo, or better libGLU to have also libGLU)

Note that you may not have the libGL in your MacPorts area, if not, you can have have them with: To use the GL found under /opt/local/include and /opt/local/lib. What I did for the moment is just tweak the : – Looking for XOpenDisplay in /opt/local/lib/libX11.dylib /opt/local/lib/libXext.dylib - found – Looking for XOpenDisplay in /opt/local/lib/libX11.dylib /opt/local/lib/libXext.dylib THEN, what is bad, is that for me the cmake on the build of Geant4 clearly says : I think that “it passed” at the time of Morave because the two lib sets where not so much different, but now there is clearly a big gap, at least concerning the dates and sizes from the libs coming with MacPorts and the ones of XQuartz. a static libs, I have the same problem that you describe. If I use the Geant4 dylib, in fact I have a crash with something as :Īssertion failed: (pthreadret = 0), function _xcb_in_wake_up_next_reader, file xcb_in.c, line 926Īnd if I use the Geant4. If in the build of your example, you do a “export VERBOSE=1” (or “setenv VERBOSE 1”, if under a csh), and then do “make” again (by rooming the RE03 binary), you will probably see that in the (long) link command, you too mix both. (And for which there is a symlink from /usr/X11R6 are really nasty point) (and which is installed under /opt, which is confusing relative to MacPorts that installs under /opt/local). I can reproduce, and yes for me the problem comes clearly from a mix up of the usage of the libX11.dylib taken from /opt/local/lib (then coming from a MacPorts installation) and the usage of the libGL.dylib taken from /opt/X11 (then coming from the XQuartz installation). Parallel worlds requested but none exist.ĮRROR: G4VisCommandsViewerSet::SetNewValue: no current viewer.ĮRROR: G4VisCommandsViewerZoom::SetNewValue: no current viewer. WARNING: G4VisCommandSceneAddVolume::SetNewValue: G4OpenGLStoredX::CreateViewer: error flagged by negative view id in G4OpenGLStoredXViewer creation.ĭestroying view and returning null pointer.ĮRROR in G4VisManager::CreateViewer: null pointer during OpenGLStoredX viewer creation. G4OpenGLXViewer::G4OpenGLXViewer: unable to get required visuals. G4OpenGLXViewer::G4OpenGLXViewer: unable to get a double buffer visual. G4OpenGLXViewer::G4OpenGLXViewer: unable to get a single buffer visual.

RE03 vis.mac I obtain the error you can find in at the end of this email.
XQUARTZ 2.7 5 MAC OS
I’m working with Geant4 10.6 on mac OS Catalina 15.10.5 with XQuartz 2.7.11 and I’m looking at /examples/extended/runAndEvent/RE03/
