| Message: Compilation problem in Geant4.9.0 with G4VParticleChange.ic | Not Logged In (login) |
|
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: | Outline Depth: | Add message: |
|
to: |