Message: A01HadronPhysics.cc in Geant 10.0? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None A01HadronPhysics.cc in Geant 10.0? 

Forum: Hadronic Processes
Date: 14 Jan, 2014
From: Kihyeon Cho <Kihyeon Cho>

How are you?

My source code works well in Geant4.9.6p02 and Geant4.9.6.r06. As far as I think, the codes of Geant4.10.00 should be same as those of Geant4.9.6.r06 since both are same mt version.

However, I got the errors when I compile my source code using Geant4.10.00. The errors are from

  A01HadronPhysics.hh
  A01HadronPhysics.cc

How can I solve the problem? Thanks in advanced.

Sincerely,

Kihyeon Cho

ps. Error message =================================================

[khcho@hepkisti bintest]$ !cmake cmake -DGeant4_DIR=/home/khcho/geant4/build/g4.10.00/geant4.10.00-build .. -- Configuring done -- Generating done -- Build files have been written to: /home/khcho/application/code_g4.10.00/bintest

[khcho@hepkisti bintest]make [ 5%] Building CXX object CMakeFiles/exampleN03.dir/src/A01HadronPhysics.cc.o

 ....
 .....

home/khcho/application/code_g4.10.00/include/A01HadronPhysics.hh:80:36: error: G4LEKaonPlusInelastic.hh: No such file or directory /home/khcho/application/code_g4.10.00/include/A01HadronPhysics.hh:81:37: error: G4LEKaonZeroSInelastic.hh: No such file or directory /home/khcho/application/code_g4.10.00/include/A01HadronPhysics.hh:82:37: error: G4LEKaonZeroLInelastic.hh: No such file or directory /home/khcho/application/code_g4.10.00/include/A01HadronPhysics.hh:83:37: error: G4LEKaonMinusInelastic.hh: No such file or directory /home/khcho/application/code_g4.10.00/include/A01HadronPhysics.hh:84:34: error: G4LEProtonInelastic.hh: No such file or directory

..... .....

/home/khcho/application/code_g4.10.00/src/A01HadronPhysics.cc:691: error: expected ‘;’ before ‘G4LEAntiOmegaMinusInelastic’ /home/khcho/application/code_g4.10.00/src/A01HadronPhysics.cc:692: error: ‘G4HEAntiOmegaMinusInelastic’ was not declared in this scope /home/khcho/application/code_g4.10.00/src/A01HadronPhysics.cc:692: error: ‘theAntiOmegaMinusHEPModel’ was not declared in this scope /home/khcho/application/code_g4.10.00/src/A01HadronPhysics.cc:692: error: expected type-specifier before ‘G4HEAntiOmegaMinusInelastic’ /home/khcho/application/code_g4.10.00/src/A01HadronPhysics.cc:692: error: expected ‘;’ before ‘G4HEAntiOmegaMinusInelastic’ /home/khcho/geant4/build/g4.10.00/geant4.10.00/source/externals/clhep/include/CLHEP/Units/PhysicalConstants.h: At global scope: /home/khcho/geant4/build/g4.10.00/geant4.10.00/source/externals/clhep/include/CLHEP/Units/PhysicalConstants.h:79: warning: ‘CLHEP::electron_charge’ defined but not used /home/khcho/geant4/build/g4.10.00/geant4.10.00/source/externals/clhep/include/CLHEP/Random/Randomize.h:61: warning: ‘CLHEP::HepRandomGenActive’ defined but not used make[2]: *** [CMakeFiles/exampleN03.dir/src/A01HadronPhysics.cc.o] Error 1 make[1]: *** [CMakeFiles/exampleN03.dir/all] Error 2 make: *** [all] Error 2

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

1 Idea: Re: A01HadronPhysics.cc in Geant 10.0?   (Vladimir Ivanchenko - 15 Jan, 2014)
2 None: Re: A01HadronPhysics.cc in Geant 10.0?   (Kihyeon Cho - 03 Feb, 2014)
 Add Message Add Message
to: "A01HadronPhysics.cc in Geant 10.0?"

 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 ]