[Gate-users] installation woes continued:

Badger, Daniel (TQEH) Daniel.Badger at nwahs.sa.gov.au
Thu Jan 25 04:58:45 CET 2007


Thanks for all the advice, it seemed I didn't have the directory for the OpenGL installation correct (pointed to the OpenGL libraries instead).
I've tried to run the geant4 example novice #1, copying the directory but can't get it to compile

error list follows:
Making dependency for file src/ExN01DetectorConstruction.cc ...
src/ExN01DetectorConstruction.cc:31:20: error: G4Box.hh: No such file or directory
src/ExN01DetectorConstruction.cc:32:21: error: G4Tubs.hh: No such file or directory
Compiling ExN01DetectorConstruction.cc ...
src/ExN01DetectorConstruction.cc:31:20: error: G4Box.hh: No such file or directory
src/ExN01DetectorConstruction.cc:32:21: error: G4Tubs.hh: No such file or directory
src/ExN01DetectorConstruction.cc: In member function âEUR~virtual G4VPhysicalVolume* ExN01DetectorConstruction::Construct()âEUR(tm):
src/ExN01DetectorConstruction.cc:75: error: âEUR~G4BoxâEUR(tm) was not declared in this scope
src/ExN01DetectorConstruction.cc:75: error: âEUR~experimentalHall_boxâEUR(tm) was not declared in this scope
src/ExN01DetectorConstruction.cc:76: error: expected type-specifier before âEUR~G4BoxâEUR(tm)
src/ExN01DetectorConstruction.cc:76: error: expected `;' before âEUR~G4BoxâEUR(tm)
src/ExN01DetectorConstruction.cc:89: error: âEUR~G4TubsâEUR(tm) was not declared in this scope
src/ExN01DetectorConstruction.cc:89: error: âEUR~tracker_tubeâEUR(tm) was not declared in this scope
src/ExN01DetectorConstruction.cc:89: error: expected type-specifier before âEUR~G4TubsâEUR(tm)
src/ExN01DetectorConstruction.cc:89: error: expected `;' before âEUR~G4TubsâEUR(tm)
src/ExN01DetectorConstruction.cc:105: error: âEUR~calorimeterBlock_boxâEUR(tm) was not declared in this scope
src/ExN01DetectorConstruction.cc:105: error: expected type-specifier before âEUR~G4BoxâEUR(tm)
src/ExN01DetectorConstruction.cc:105: error: expected `;' before âEUR~G4BoxâEUR(tm)
src/ExN01DetectorConstruction.cc:121: error: âEUR~calorimeterLayer_boxâEUR(tm) was not declared in this scope
src/ExN01DetectorConstruction.cc:121: error: expected type-specifier before âEUR~G4BoxâEUR(tm)
src/ExN01DetectorConstruction.cc:121: error: expected `;' before âEUR~G4BoxâEUR(tm)
src/ExN01DetectorConstruction.cc:72: warning: unused variable âEUR~expHall_xâEUR(tm)
src/ExN01DetectorConstruction.cc:73: warning: unused variable âEUR~expHall_yâEUR(tm)
src/ExN01DetectorConstruction.cc:74: warning: unused variable âEUR~expHall_zâEUR(tm)
src/ExN01DetectorConstruction.cc:84: warning: unused variable âEUR~innerRadiusOfTheTubeâEUR(tm)
src/ExN01DetectorConstruction.cc:85: warning: unused variable âEUR~outerRadiusOfTheTubeâEUR(tm)
src/ExN01DetectorConstruction.cc:86: warning: unused variable âEUR~hightOfTheTubeâEUR(tm)
src/ExN01DetectorConstruction.cc:87: warning: unused variable âEUR~startAngleOfTheTubeâEUR(tm)
src/ExN01DetectorConstruction.cc:88: warning: unused variable âEUR~spanningAngleOfTheTubeâEUR(tm)
src/ExN01DetectorConstruction.cc:102: warning: unused variable âEUR~block_xâEUR(tm)
src/ExN01DetectorConstruction.cc:103: warning: unused variable âEUR~block_yâEUR(tm)
src/ExN01DetectorConstruction.cc:104: warning: unused variable âEUR~block_zâEUR(tm)
src/ExN01DetectorConstruction.cc:118: warning: unused variable âEUR~calo_xâEUR(tm)
src/ExN01DetectorConstruction.cc:119: warning: unused variable âEUR~calo_yâEUR(tm)
src/ExN01DetectorConstruction.cc:120: warning: unused variable âEUR~calo_zâEUR(tm)
make: *** [/home/daniel/geant4/tmp/Linux-g++/exampleN01/ExN01DetectorConstruction.o] Error 1


It seems the compiler can't find G4Tubs.hh and G4Box.hh, even though there are there in the install dir (at /usr/local/bin/geant4.8.0/src/geant4).  I checked the environment, seems ok:

setenv |grep G4
G4LEVELGAMMADATA=/usr/local/bin/geant_data/PhotonEvaporation
G4INSTALL=/usr/local/bin/geant4.8.0/src/geant4
G4ELASTICDATA=/usr/local/bin/geant_data/G4ELASTIC1.1
G4LEDATA=/usr/local/bin/geant_data/G4EMLOW3.0
G4RADIOACTIVEDATA=/usr/local/bin/geant_data/RadiativeDecay
G4LIB=/usr/local/bin/geant4.8.0/lib/geant4
G4SYSTEM=Linux-g++
G4WORKDIR=/home/daniel/geant4
NeutronHPCrossSections=/usr/local/bin/geant_data/G4NDL3.7

the path seems ok too, I even tried putting the exact location of the missing files in the path, to no effect...

echo $path
/usr/kerberos/bin /usr/local/bin /usr/bin /bin /usr/X11R6/bin /usr/local/bin/gate_v3.0.0/ /usr/local/bin/geant4.8.0/src/geant4 /usr/local /home/daniel/geant4 /usr/local/bin/geant4.8.0/src/geant4 /usr/local/bin/gate_v3.0.0/ /usr/local/bin/geant4.8.0/src/geant4 /usr/local /home/daniel/geant4 

My guess is that something is misconfigured, but I can't figure out what ...


--
Daniel Badger
Physicist
Dept of Nuclear Medicine 
The Queen Elizabeth Hospital
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20070125/51703385/attachment.htm>


More information about the Gate-users mailing list