|Message: A01HadronPhysics.cc in Geant 10.0?||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
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
How can I solve the problem? Thanks in advanced.
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: *** [CMakeFiles/exampleN03.dir/src/A01HadronPhysics.cc.o] Error 1 make: *** [CMakeFiles/exampleN03.dir/all] Error 2 make: *** [all] Error 2
|Inline Depth:||Outline Depth:||Add message:|