Message: Example N03 G4VIS can't find OpenGL Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Example N03 G4VIS can't find OpenGL 

Keywords: geant4.9.0 N03 OpenGL
Forum: Installation and Configuration
Date: 20 Jul, 2007
From: Mark Suhovecky <Mark Suhovecky>

I've built & configured GEANT 4.9.0 on my Redhat 4 system. I built & ran
example A01 with no problem. Then I tried example N03. I get the following
error:

$ gmake
Using granular libraries ...
Linking exampleN03 ...
/afs/nd.edu/user19/msuhovec/geant4/tmp/Linux-g++/exampleN03/exe/exampleN03.o(.text+0x182): In function `G4VisExecutive::RegisterGraphicsSystems()':
: undefined reference to `G4OpenGLImmediateXm::G4OpenGLImmediateXm()'
/afs/nd.edu/user19/msuhovec/geant4/tmp/Linux-g++/exampleN03/exe/exampleN03.o(.text+0x1a2): In function `G4VisExecutive::RegisterGraphicsSystems()':
: undefined reference to `G4OpenGLStoredXm::G4OpenGLStoredXm()'
collect2: ld returned 1 exit status
gmake: *** [/afs/nd.edu/user19/msuhovec/geant4/bin/Linux-g++/exampleN03] Error 

On the face of it, it would seem that I'm not picking up libG4OpenGL.a,
which in my installation resides in

/usr/nuclear/geant/4.9.0/lib/geant4/Linux-g++

My G4 & LD_LIBRARY_PATH look like this:

$ env | grep G4
G4LIB_BUILD_STATIC=1
G4SYSTEM=Linux-g++
G4LIB_USE_GRANULAR=1
G4INSTALL=/usr/nuclear/geant/4.9.0/src/geant4
G4VIS_BUILD_RAYTRACERX_DRIVER=1
G4VIS_BUILD_OPENGLX_DRIVER=1
G4WORKDIR=/afs/nd.edu/user19/msuhovec/geant4
G4VIS_USE_OPENGLX=1
G4UI_USE_TCSH=1
G4VIS_BUILD_OPENGLXM_DRIVER=1
G4LEVELGAMMADATA=/usr/nuclear/geant/4.9.0/data/PhotonEvaporation2.0
G4RADIOACTIVEDATA=/usr/nuclear/geant/4.9.0/data/RadioactiveDecay3.2
G4NEUTRONHPDATA=/usr/nuclear/geant/4.9.0/data/G4NDL3.11
G4VIS_USE_OPENGLXM=1
G4LIB=/usr/nuclear/geant/4.9.0/lib/geant4
G4VIS_USE_RAYTRACERX=1
G4LEDATA=/usr/nuclear/geant/4.9.0/data/G4EMLOW4.3
G4INCLUDE=/usr/nuclear/geant/4.9.0/include/geant4

$ echo $LD_LIBRARY_PATH
/usr/X11R6/lib64:/usr/nuclear/clhep/2.0.3.1/lib
:/usr/nuclear/geant/4.9.0/lib/geant4/Linux-g++
:/opt/und/local/lib


I've tried wading through the global makefiles, but haven't made much headway.
Any help appreciated!

Thanks,

Mark

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Example N03 G4VIS can't find OpenGL   (John Allison - 20 Jul, 2007)
3 Agree: Re: Example N03 G4VIS can't find OpenGL   (Mark Suhovecky - 22 Jul, 2007)
 Add Message Add Message
to: "Example N03 G4VIS can't find OpenGL"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]