Problem 299

Summary: i am not able to compile examples in geant4.3.2
Product: Geant4 Reporter: anurag.goel
Component: configAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED WORKSFORME    
Severity: critical CC: Gunter.Folger
Priority: P1    
Version: 3.2   
Hardware: PC   
OS: Other   

Description anurag.goel 2001-09-17 04:48:35 CEST
Hi Everyone

             OS = Windows 2000.

            after installation and complilation i was trying to run make on
some of the examples. Lot of errors came in btw. Also thee is nothing in my bin
directory. Below i am giving the output which i got after running make in
exmaples/novie/N02/. Can anyone help me out.



               from ../../../source/global/management/include/globals.hh:92,
               from src/ExN02PhysicsList.cc:30:
/../../source/global/management/include/SystemOfUnits.h:72: CLHEP/config/CLHEP
: No such file or directory
 file included from ../../../source/track/include/G4Step.hh:62,
               from ../../../source/track/include/G4VParticleChange.hh:252,
               from ../../../source/processes/management/include/G4VProcess.hh
3,
               from ../../../source/processes/management/include/G4ProcessMana
r.hh:72,
               from src/ExN02PhysicsList.cc:35:
/../../source/global/management/include/G4ThreeVector.hh:38: CLHEP/Vector/Thre
ector.h: No such file or directory
 file included from ../../../source/geometry/management/include/G4VPhysicalVol
e.hh:49,
               from ../../../source/track/include/G4Step.hh:63,
               from ../../../source/track/include/G4VParticleChange.hh:252,
               from ../../../source/processes/management/include/G4VProcess.hh
3,
               from ../../../source/processes/management/include/G4ProcessMana
r.hh:72,
               from src/ExN02PhysicsList.cc:35:
/../../source/global/management/include/G4RotationMatrix.hh:39: CLHEP/Vector/R
ation.h: No such file or directory
 file included from ../../../source/particles/management/include/G4DynamicPart
le.hh:54,
               from ../../../source/track/include/G4Track.hh:55,
               from ../../../source/track/include/G4Step.icc:147,
               from ../../../source/track/include/G4Step.hh:157,
               from ../../../source/track/include/G4VParticleChange.hh:252,
               from ../../../source/processes/management/include/G4VProcess.hh
3,
               from ../../../source/processes/management/include/G4ProcessMana
r.hh:72,
               from src/ExN02PhysicsList.cc:35:
/../../source/global/HEPGeometry/include/G4LorentzVector.hh:31: CLHEP/Vector/L
entzVector.h: No such file or directory
 file included from ../../../source/processes/management/include/G4VProcess.hh
15,
               from ../../../source/processes/management/include/G4ProcessMana
r.hh:72,
               from src/ExN02PhysicsList.cc:35:
/../../source/global/HEPRandom/include/Randomize.hh:30: CLHEP/Random/Randomize
: No such file or directory
/../../source/global/HEPRandom/include/Randomize.hh:34: CLHEP/Random/RandGauss
h: No such file or directory
/../../source/global/HEPRandom/include/Randomize.hh:35: CLHEP/Random/RandGauss
h: No such file or directory
/../../source/global/HEPRandom/include/Randomize.hh:36: CLHEP/Random/RandPoiss
Q.h: No such file or directory
/../../source/global/HEPRandom/include/Randomize.hh:37: CLHEP/Random/RandPoiss
T.h: No such file or directory
/../../source/global/HEPRandom/include/Randomize.hh:38: CLHEP/Random/RandLanda
h: No such file or directory
/../../source/global/HEPRandom/include/Randomize.hh:39: CLHEP/Random/RandBit.h
No such file or directory
king dependency for file src/ExN02MagneticField.cc ...
 file included from ../../../source/global/management/include/G4ios.hh:37,
               from ../../../source/global/management/include/globals.hh:47,
               from ../../../source/geometry/magneticfield/include/G4UniformMa
ield.hh:43,
               from include/ExN02MagneticField.hh:37,
               from src/ExN02MagneticField.cc:32:
/../../source/global/management/include/G4Types.hh:41: CLHEP/config/CLHEP.h: N
such file or directory
 file included from ../../../source/geometry/magneticfield/include/G4UniformMa
ield.hh:43,
               from include/ExN02MagneticField.hh:37,
               from src/ExN02MagneticField.cc:32:
/../../source/global/management/include/globals.hh:79: CLHEP/config/TemplateFu
tions.h: No such file or directory
 file included from ../../../source/global/STLInterface/g4rw/cstring.h:47,
               from ../../../source/global/management/include/globals.hh:85,
               from ../../../source/geometry/magneticfield/include/G4UniformMa
ield.hh:43,
               from include/ExN02MagneticField.hh:37,
               from src/ExN02MagneticField.cc:32:
/../../source/global/STLInterface/g4rw/defs.h:58: CLHEP/config/TemplateFunctio
.h: No such file or directory
 file included from ../../../source/global/management/include/PhysicalConstant
h:68,
               from ../../../source/global/management/include/globals.hh:92,
               from ../../../source/geometry/magneticfield/include/G4UniformMa
ield.hh:43,
               from include/ExN02MagneticField.hh:37,
               from src/ExN02MagneticField.cc:32:
/../../source/global/management/include/SystemOfUnits.h:72: CLHEP/config/CLHEP
: No such file or directory
 file included from ../../../source/geometry/magneticfield/include/G4UniformMa
ield.hh:44,
               from include/ExN02MagneticField.hh:37,
               from src/ExN02MagneticField.cc:32:
/../../source/global/management/include/G4ThreeVector.hh:38: CLHEP/Vector/Thre
ector.h: No such file or directory
 file included from ../../../source/geometry/management/include/G4AffineTransf
m.hh:65,
               from ../../../source/geometry/volumes/include/G4Navigator.hh:93

               from ../../../source/geometry/volumes/include/G4TransportationM
ager.hh:45,
               from src/ExN02MagneticField.cc:92:
/../../source/global/management/include/G4RotationMatrix.hh:39: CLHEP/Vector/R
ation.h: No such file or directory
king dependency for file src/ExN02EventAction.cc ...
 file included from ../../../source/global/management/include/G4ios.hh:37,
               from ../../../source/global/management/include/globals.hh:47,
               from ../../../source/event/include/G4Event.hh:31,
               from src/ExN02EventAction.cc:32:
/../../source/global/management/include/G4Types.hh:41: CLHEP/config/CLHEP.h: N
such file or directory
 file included from ../../../source/event/include/G4Event.hh:31,
               from src/ExN02EventAction.cc:32:
/../../source/global/management/include/globals.hh:79: CLHEP/config/TemplateFu
tions.h: No such file or directory
 file included from ../../../source/global/STLInterface/g4rw/cstring.h:47,
               from ../../../source/global/management/include/globals.hh:85,
               from ../../../source/event/include/G4Event.hh:31,
               from src/ExN02EventAction.cc:32:
/../../source/global/STLInterface/g4rw/defs.h:58: CLHEP/config/TemplateFunctio
.h: No such file or directory
 file included from ../../../source/global/management/include/PhysicalConstant
h:68,
               from ../../../source/global/management/include/globals.hh:92,
               from ../../../source/event/include/G4Event.hh:31,
               from src/ExN02EventAction.cc:32:
/../../source/global/management/include/SystemOfUnits.h:72: CLHEP/config/CLHEP
: No such file or directory
 file included from ../../../source/event/include/G4PrimaryVertex.hh:35,
               from ../../../source/event/include/G4Event.hh:33,
               from src/ExN02EventAction.cc:32:
/../../source/global/management/include/G4ThreeVector.hh:38: CLHEP/Vector/Thre
ector.h: No such file or directory
 file included from ../../../source/geometry/management/include/G4VPhysicalVol
e.hh:49,
               from ../../../source/geometry/management/include/G4LogicalVolum
hh:101,
               from ../../../source/track/include/G4Track.hh:52,
               from ../../../source/event/include/G4StackedTrack.hh:35,
               from ../../../source/event/include/G4StackManager.hh:34,
               from ../../../source/event/include/G4EventManager.hh:34,
               from src/ExN02EventAction.cc:33:
/../../source/global/management/include/G4RotationMatrix.hh:39: CLHEP/Vector/R
ation.h: No such file or directory
 file included from ../../../source/particles/management/include/G4DynamicPart
le.hh:54,
               from ../../../source/track/include/G4Track.hh:55,
               from ../../../source/event/include/G4StackedTrack.hh:35,
               from ../../../source/event/include/G4StackManager.hh:34,
               from ../../../source/event/include/G4EventManager.hh:34,
               from src/ExN02EventAction.cc:33:
/../../source/global/HEPGeometry/include/G4LorentzVector.hh:31: CLHEP/Vector/L
entzVector.h: No such file or directory
 file included from ../../../source/tracking/include/G4SteppingManager.hh:58,
               from ../../../source/tracking/include/G4TrackingManager.hh:55,
               from ../../../source/event/include/G4EventManager.hh:43,
               from src/ExN02EventAction.cc:33:
/../../source/global/HEPRandom/include/Randomize.hh:30: CLHEP/Random/Randomize
: No such file or directory
/../../source/global/HEPRandom/include/Randomize.hh:34: CLHEP/Random/RandGauss
h: No such file or directory
/../../source/global/HEPRandom/include/Randomize.hh:35: CLHEP/Random/RandGauss
h: No such file or directory
/../../source/global/HEPRandom/include/Randomize.hh:36: CLHEP/Random/RandPoiss
Q.h: No such file or directory
/../../source/global/HEPRandom/include/Randomize.hh:37: CLHEP/Random/RandPoiss
T.h: No such file or directory
/../../source/global/HEPRandom/include/Randomize.hh:38: CLHEP/Random/RandLanda
h: No such file or directory
/../../source/global/HEPRandom/include/Randomize.hh:39: CLHEP/Random/RandBit.h
No such file or directory
king dependency for file src/ExN02DetectorMessenger.cc ...
 file included from ../../../source/global/management/include/G4ios.hh:37,
               from ../../../source/global/management/include/globals.hh:47,
               from include/ExN02DetectorMessenger.hh:33,
               from src/ExN02DetectorMessenger.cc:30:
/../../source/global/management/include/G4Types.hh:41: CLHEP/config/CLHEP.h: N
such file or directory
 file included from include/ExN02DetectorMessenger.hh:33,
               from src/ExN02DetectorMessenger.cc:30:
/../../source/global/management/include/globals.hh:79: CLHEP/config/TemplateFu
tions.h: No such file or directory
 file included from ../../../source/global/STLInterface/g4rw/cstring.h:47,
               from ../../../source/global/management/include/globals.hh:85,
               from include/ExN02DetectorMessenger.hh:33,
               from src/ExN02DetectorMessenger.cc:30:
/../../source/global/STLInterface/g4rw/defs.h:58: CLHEP/config/TemplateFunctio
.h: No such file or directory
 file included from ../../../source/global/management/include/PhysicalConstant
h:68,
               from ../../../source/global/management/include/globals.hh:92,
               from include/ExN02DetectorMessenger.hh:33,
               from src/ExN02DetectorMessenger.cc:30:
/../../source/global/management/include/SystemOfUnits.h:72: CLHEP/config/CLHEP
: No such file or directory
 file included from ../../../source/geometry/magneticfield/include/G4UniformMa
ield.hh:44,
               from include/ExN02MagneticField.hh:37,
               from include/ExN02DetectorConstruction.hh:35,
               from src/ExN02DetectorMessenger.cc:32:
/../../source/global/management/include/G4ThreeVector.hh:38: CLHEP/Vector/Thre
ector.h: No such file or directory
king dependency for file src/ExN02DetectorConstruction.cc ...
 file included from ../../../source/global/management/include/G4ios.hh:37,
               from ../../../source/global/management/include/globals.hh:47,
               from include/ExN02DetectorConstruction.hh:33,
               from src/ExN02DetectorConstruction.cc:30:
/../../source/global/management/include/G4Types.hh:41: CLHEP/config/CLHEP.h: N
such file or directory
 file included from include/ExN02DetectorConstruction.hh:33,
               from src/ExN02DetectorConstruction.cc:30:
/../../source/global/management/include/globals.hh:79: CLHEP/config/TemplateFu
tions.h: No such file or directory
 file included from ../../../source/global/STLInterface/g4rw/cstring.h:47,
               from ../../../source/global/management/include/globals.hh:85,
               from include/ExN02DetectorConstruction.hh:33,
               from src/ExN02DetectorConstruction.cc:30:
/../../source/global/STLInterface/g4rw/defs.h:58: CLHEP/config/TemplateFunctio
.h: No such file or directory
 file included from ../../../source/global/management/include/PhysicalConstant
h:68,
               from ../../../source/global/management/include/globals.hh:92,
               from include/ExN02DetectorConstruction.hh:33,
               from src/ExN02DetectorConstruction.cc:30:
/../../source/global/management/include/SystemOfUnits.h:72: CLHEP/config/CLHEP
: No such file or directory
 file included from ../../../source/geometry/magneticfield/include/G4UniformMa
ield.hh:44,
               from include/ExN02MagneticField.hh:37,
               from include/ExN02DetectorConstruction.hh:35,
               from src/ExN02DetectorConstruction.cc:30:
/../../source/global/management/include/G4ThreeVector.hh:38: CLHEP/Vector/Thre
ector.h: No such file or directory
 file included from ../../../source/geometry/management/include/G4VPhysicalVol
e.hh:49,
               from ../../../source/track/include/G4Step.hh:63,
               from ../../../source/digits+hits/detector/include/G4VSensitiveD
ector.hh:32,
               from include/ExN02TrackerSD.hh:33,
               from src/ExN02DetectorConstruction.cc:34:
/../../source/global/management/include/G4RotationMatrix.hh:39: CLHEP/Vector/R
ation.h: No such file or directory
 file included from ../../../source/particles/management/include/G4DynamicPart
le.hh:54,
               from ../../../source/track/include/G4Track.hh:55,
               from ../../../source/track/include/G4Step.icc:147,
               from ../../../source/track/include/G4Step.hh:157,
               from ../../../source/digits+hits/detector/include/G4VSensitiveD
ector.hh:32,
               from include/ExN02TrackerSD.hh:33,
               from src/ExN02DetectorConstruction.cc:34:
/../../source/global/HEPGeometry/include/G4LorentzVector.hh:31: CLHEP/Vector/L
entzVector.h: No such file or directory
 file included from ../../../source/geometry/management/include/G4PVPlacement.
:47,
               from src/ExN02DetectorConstruction.cc:39:
/../../source/global/HEPGeometry/include/G4Transform3D.hh:31: CLHEP/Geometry/T
nsform3D.h: No such file or directory
king dependency for file src/ExN02ChamberParameterisation.cc ...
 file included from ../../../source/global/management/include/G4ios.hh:37,
               from ../../../source/global/management/include/globals.hh:47,
               from include/ExN02ChamberParameterisation.hh:38,
               from src/ExN02ChamberParameterisation.cc:30:
/../../source/global/management/include/G4Types.hh:41: CLHEP/config/CLHEP.h: N
such file or directory
 file included from include/ExN02ChamberParameterisation.hh:38,
               from src/ExN02ChamberParameterisation.cc:30:
/../../source/global/management/include/globals.hh:79: CLHEP/config/TemplateFu
tions.h: No such file or directory
 file included from ../../../source/global/STLInterface/g4rw/cstring.h:47,
               from ../../../source/global/management/include/globals.hh:85,
               from include/ExN02ChamberParameterisation.hh:38,
               from src/ExN02ChamberParameterisation.cc:30:
/../../source/global/STLInterface/g4rw/defs.h:58: CLHEP/config/TemplateFunctio
.h: No such file or directory
 file included from ../../../source/global/management/include/PhysicalConstant
h:68,
               from ../../../source/global/management/include/globals.hh:92,
               from include/ExN02ChamberParameterisation.hh:38,
               from src/ExN02ChamberParameterisation.cc:30:
/../../source/global/management/include/SystemOfUnits.h:72: CLHEP/config/CLHEP
: No such file or directory
 file included from ../../../source/global/management/include/G4RotationMatrix
h:38,
               from ../../../source/geometry/management/include/G4VPhysicalVol
e.hh:49,
               from src/ExN02ChamberParameterisation.cc:32:
/../../source/global/management/include/G4ThreeVector.hh:38: CLHEP/Vector/Thre
ector.h: No such file or directory
 file included from ../../../source/geometry/management/include/G4VPhysicalVol
e.hh:49,
               from src/ExN02ChamberParameterisation.cc:32:
/../../source/global/management/include/G4RotationMatrix.hh:39: CLHEP/Vector/R
ation.h: No such file or directory
/../../tmp/SUN-CC/exampleN02/ExN02ChamberParameterisation.d:1: *** missing sep



regards,
Anurag
Comment 1 Gabriele Cosmo 2001-09-17 05:04:59 CEST
It looks like the CLHEP_BASE_DIR variable is not correctly set in
your environment, since CLHEP headers are not found.
Please, check that your environemnt is properly set at the time you
build your application.
Comment 2 Gabriele Cosmo 2001-09-17 07:19:59 CEST
*** Bug 300 has been marked as a duplicate of this bug. ***
*** 'Gabriele.Cosmo@cern.ch' will be responsible for bug 300. ***