Message: Geant4.7.1: errors in example A01 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Geant4.7.1: errors in example A01 

Forum: Documentation and Examples
Date: 16 Aug, 2005
From: Gabriel Sawakuchi <Gabriel Sawakuchi>

Dear users,

I am getting errors trying to link example A01 with hadronic interactions.

I was following the tutorial CDs from slac

When I tried to add the hadron physics, uncommenting the lines

#include "HadronPhysicsQGSP_BERT.hh"


RegisterPhysics(new HadronPhysicsQGSP_BERT("hadron"));

in the constructor of A01PhysicsList, I got the following errors

Making dependency for file src/ ... src/ HadronPhysicsQGSP_BERT.hh: No such file or directory Compiling ... src/ HadronPhysicsQGSP_BERT.hh: No such file or directory src/ In constructor `A01PhysicsList::A01PhysicsList()': src/ error: `HadronPhysicsQGSP_BERT' has not been declared /home/gbiel/geant4/CLHEP/include/CLHEP/Random/Randomize.h: At global scope: /home/gbiel/geant4/CLHEP/include/CLHEP/Random/Randomize.h:67: warning: 'CLHEP::HepRandomGenActive' defined but not used

make: *** [/home/gbiel/geant4/geant4.7.1/tmp/Linux-g++/A01app/A01PhysicsList.o] Error 1

I have set the environment variable $G4LISTS_BASE and I have built the hadronic libraries.

export G4LISTS_BASE=$G4INSTALL/physics_lists

cd $G4INSTALL/physics_lists/hadronic/


I have also posted this message in the Instaling section of this forum.

I would apprecite any help.



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

 Add Message Add Message
to: "Geant4.7.1: errors in example A01"

 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 ]