Problem 1859 - Open Inventor fails - no fallback graphics system
Summary: Open Inventor fails - no fallback graphics system
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: visualization/OpenInventor (show other problems)
Version: 10.2
Hardware: Apple Mac OS X
: P5 major
Assignee: John.Allison
URL:
Depends on:
Blocks:
 
Reported: 2016-05-10 18:00 CEST by Tom Roberts
Modified: 2016-06-12 14:53 CEST (History)
2 users (show)

See Also:


Attachments
fallback handling stubbed out via "#ifdef STUB_TJR" (15.88 KB, text/x-c++src)
2016-05-10 18:00 CEST, Tom Roberts
Details

Note You need to log in before you can comment on or make changes to this problem.
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.