[gate-users] GATE installation problem (OPENGL)

ywyang ywyang98 at ms25.hinet.net
Sat Aug 28 05:17:44 CEST 2004


Dear All:

    I got error messages when I installed GATE.

Creating/replacing object files in
/home/gate/Geant4/geant4.5.2.p02/tmp/Linux-g++/Gate/libGate.a
Compiling Gate.cc ...
Using granular libraries ...
Linking Gate ...
/home/gate/Geant4/geant4.5.2.p02/tmp/Linux-g++/Gate/libGate.a(GateVisManager.o)(.text+0x129): In function `Gate
VisManager::RegisterGraphicsSystems()':
: undefined reference to `G4FukuiRenderer::G4FukuiRenderer[in-charge]()'
/home/gate/Geant4/geant4.5.2.p02/lib/Linux-g++/libG4OpenGL.a(G4OpenGLXmViewer.o)(.text+0x7): In function `G4Ope
nGLXmViewer::ShowView()':
: undefined reference to `G4Xt::getInstance()'
/home/gate/Geant4/geant4.5.2.p02/lib/Linux-g++/libG4OpenGL.a(G4OpenGLXmViewer.o)(.text+0x25): In function `G4Op

....

n function `G4OpenGLXmViewer::misc_callback(_WidgetRec*, void*, void*)':
: undefined reference to `G4Xt::getInstance()'
collect2: ld returned 1 exit status
make: *** [/home/gate/Geant4/geant4.5.2.p02/bin/Linux-g++/Gate] Error 1



    

           I followed installation guide and set env variables needed for
geant4 and GATE. The env.csh is followed



[gate at LinuxPC geant4.5.2.p02]$ source env.csh
On this machine the G4SYSTEM=Linux-g++
On this machine the G4INSTALL=/home/gate/Geant4/geant4.5.2.p02
On this machine the G4LIB=/home/gate/Geant4/geant4.5.2.p02/lib
On this machine the G4LEVELGAMMADATA=/home/gate/Geant4/data/PhotonEvaporation
On this machine the G4RADIOACTIVEDATA=/home/gate/Geant4/data/RadiativeDecay
On this machine the G4LEDATA=/home/gate/Geant4/data/G4EMLOW2.2
On this machine the NeutronHPCrossSections=/home/gate/Geant4/data/G4NDL3.7
On this machine the CLHEP_BASE_DIR=/home/gate/Geant4/CLHEP
On this machine the CLHEP_INCLUDE_DIR=/home/gate/Geant4/CLHEP/include
On this machine the CLHEP_LIB_DIR=/home/gate/Geant4/CLHEP/lib
On this machine the CLHEP_LIB=CLHEP
On this machine the G4VIS_BUILD_DAWN_DRIVER=1
On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1
On this machine the G4VIS_BUILD_OPENGLXM_DRIVER=1
On this machine the G4VIS_USE_DAWN=1
On this machine the G4VIS_USE_OPENGLX=1
On this machine the G4VIS_USE_OPENGLXM=1
On this machine the OGLHOME=/usr/local/Mesa.5.0.2
On this machine the G4LIB_USE_GRANULAR=1
In your environment you have the G4WORKDIR=/home/gate/Geant4/geant4.5.2.p02

    The env variables set for OPENGL in geant4 is


setenv G4VIS_BUILD_OPENGLX_DRIVER 1
setenv G4_USE_OPENGLX 1
setenv OGLHOME /usr/local/Mesa.5.0.2
setenv OPENGL $OGLHOME
setenv OGLLIBS "-L$OGLHOME/lib -lGLU -lGL -lOSMesa"
setenv OGLFLAGS "-I$OGLHOME/include"

    Do I need to set other env variables for OPENGLX, OPENGLXM, and DAWN
? I use geant4.5.2.p02, RH 9.0, gcc++.Thanks in advance.

best regards,
Yu-Wen Yan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20040828/c2001ab7/attachment.htm>


More information about the Gate-users mailing list