Message: Compilation problem in Geant4.9.0 with G4VParticleChange.ic Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Compilation problem in Geant4.9.0 with G4VParticleChange.ic 

Keywords: Compilation G4VParticelChange
Forum: Run Management
Date: 05 Dec, 2007
From: Gloria Luzón <Gloria Luzón>

Hi,

I have some problems with migration to 4.9.0_patch1 version of the code. Even, if I try compiling one of the examples I get a message as follows:

Compiling ExN07DetectorConstruction.cc ...
In file included from /programas/GEANT4.9.0/include/G4VParticleChange.hh:301,
                 from /programas/GEANT4.9.0/include/G4VProcess.hh:68,
                 from /programas/GEANT4.9.0/include/G4ProcessManager.hh:76,
                 from /programas/GEANT4.9.0/include/G4SteppingManager.hh:68,
                 from /programas/GEANT4.9.0/include/G4TrackingManager.hh:57,
                 from /include/G4EventManager.hh:46,
                 from /include/G4RunManagerKernel.hh:67,
                 from /include/G4RunManager.hh:89,
                 from src/ExN07DetectorConstruction.cc:34:
/programas/GEANT4.9.0/include/G4VParticleChange.icc: In member function `
   G4Step* G4VParticleChange::UpdateStepInfo(G4Step*)':
/programas/GEANT4.9.0/include/G4VParticleChange.icc:40: error: `
   AddNonIonizingEnergyDeposit' undeclared (first use this function)
/programas/GEANT4.9.0/include/G4VParticleChange.icc:40: error: (Each undeclared 
   identifier is reported only once for each function it appears in.)
src/ExN07DetectorConstruction.cc: In member function `void 
   ExN07DetectorConstruction::SetSerialGeometry(bool)':
src/ExN07DetectorConstruction.cc:424: error: `GetParallelWorld' undeclared 
   (first use this function)
make: *** [/home/gloria/Geant4work/tmp/Linux-g++/exampleN07/ExN07DetectorConstruction.o] Error 1

In my own code I get:

In file included from /programas/GEANT4.9.0/include/G4VParticleChange.hh:301,
                 from /programas/GEANT4.9.0/include/G4VProcess.hh:68,
                 from /programas/GEANT4.9.0/include/G4ProcessManager.hh:76,
                 from /programas/GEANT4.9.0/include/G4SteppingManager.hh:68,
                 from /programas/GEANT4.9.0/include/G4TrackingManager.hh:57,
                 from /include/G4EventManager.hh:46,
                 from /include/G4RunManagerKernel.hh:67,
                 from /include/G4RunManager.hh:89,
                 from NEXT.cc:12:
/programas/GEANT4.9.0/include/G4VParticleChange.icc: In member function `
   G4Step* G4VParticleChange::UpdateStepInfo(G4Step*)':
/programas/GEANT4.9.0/include/G4VParticleChange.icc:40: error: `
   AddNonIonizingEnergyDeposit' undeclared (first use this function)
/programas/GEANT4.9.0/include/G4VParticleChange.icc:40: error: (Each undeclared 
   identifier is reported only once for each function it appears in.)
NEXT.cc: In function `int main(int, char**)':
NEXT.cc:30: warning: unused variable `char str2[100]'
NEXT.cc:31: warning: unused variable `int bo'
make: *** [/home/gloria/Geant4work/tmp/Linux-g++/NEXT/exe/NEXT.o] Error 1

It seems that my compilation problems could have something to do with 'AddNonIonizingEnergyDeposit', an undeclared function.

Any help would be apreciated

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

 Add Message Add Message
to: "Compilation problem in Geant4.9.0 with G4VParticleChange.ic"

 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 ]