Message: How do I run N01? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question How do I run N01? 

Keywords: N01 run example GEANT4
Forum: Documentation and Examples
Date: 19 Oct, 2003
From: Michael Tate <Michael Tate>

I have successfully installed GEANT4 and CLHEP and I have all the env variables set and I successfully did a make on N01...now I just need to know how I can somehow run the example.

I tried compling exampleN01.cc but it gives me this

exampleN01.cc:37:27: G4RunManager.hh: No such file or directory
exampleN01.cc:38:26: G4UImanager.hh: No such file or directory
exampleN01.cc:40:40: ExN01DetectorConstruction.hh: No such file or directory
exampleN01.cc:41:31: ExN01PhysicsList.hh: No such file or directory
exampleN01.cc:42:42: ExN01PrimaryGeneratorAction.hh: No such file or directory
exampleN01.cc: In function `int main()':
exampleN01.cc:48: `G4RunManager' undeclared (first use this function)
exampleN01.cc:48: (Each undeclared identifier is reported only once for each
   function it appears in.)
exampleN01.cc:48: `runManager' undeclared (first use this function)
exampleN01.cc:48: parse error before `;' token
exampleN01.cc:51: parse error before `)' token
exampleN01.cc:52: parse error before `)' token
exampleN01.cc:55: parse error before `)' token
exampleN01.cc:61: `G4UImanager' undeclared (first use this function)
exampleN01.cc:61: `UI' undeclared (first use this function)
exampleN01.cc:61: parse error before `::' token

any help would be greatly appreciated.

Thanks in advance

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

1 Feedback: Re: How do I run N01?   (William Handler - 05 Nov, 2003)
 Add Message Add Message
to: "How do I run N01?"

 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 ]