Problem 1859

Summary: Open Inventor fails - no fallback graphics system
Product: Geant4 Reporter: Tom Roberts <tjrob>
Component: visualization/OpenInventorAssignee: John.Allison
Status: RESOLVED FIXED    
Severity: major CC: john.allison, John.Allison
Priority: P5    
Version: 10.2   
Hardware: Apple   
OS: Mac OS X   
Attachments: fallback handling stubbed out via "#ifdef STUB_TJR"

Description Tom Roberts 2016-05-10 18:00:05 CEST
Created attachment 399 [details]
fallback handling stubbed out via "#ifdef STUB_TJR"

On Mac OS X 10.9.5 (Mavericks), geant4.10.02.p01, the OpenInventor driver builds OK. My program links OK.

When executed, I get this error:
/vis/open OIX
ERROR: G4VisCommandSceneHandlerCreate::SetNewValue: could not find fallback graphics system for "OIX".
ERROR: G4VisCommandViewerCreate::SetNewValue: no scene handlers.

The fallback logic is obscure, so I edited G4VisCommandSceneHandlerCreate.cc to omit the fallback handling (attached), and it now works OK.

I believe this also applies to geant4.10.02.
This probably applies to other hardware and OSs.
Comment 1 John.Allison 2016-06-12 14:53:59 CEST
Fixes submitted:

4th May 2016  John Allison  (visman-V10-02-09)
- G4VisExecutive.icc: Win32 now opens with "/vis/open OGL" if Qt
  is not built.