Message: Installation seems successful, but example cannot find headers. OSX 10.5.8 - Geant4.9.1 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Installation seems successful, but example cannot find headers. OSX 10.5.8 - Geant4.9.1 

Forum: Installation and Configuration
Date: 07 Jul, 2010
From: <jpmuzi>

The geant installation seems to run fine, i followed the instructions and it ended without errors, but when i try to make the examples it can't seem to find any headers. I made a new terminal to avoid any environment variables conflicting, and before i tried to make the example i exported a G4WORKDIR and DYLD_LIBRARY_PATH, and sourced the env.sh file. I double checked that the CLHEP directory is correct. Is there something i am missing before i can make the example? It seems to not only not be able to find anything in the CLHEP directory, but the headers for the individual example as well:

>exampleN02.cc:34:40: error: ExN02DetectorConstruction.hh: No such file or directory
>exampleN02.cc:35:31: error: ExN02PhysicsList.hh: No such file or directory
>exampleN02.cc:36:42: error: ExN02PrimaryGeneratorAction.hh: No such file or directory
>exampleN02.cc:37:29: error: ExN02RunAction.hh: No such file or directory
>exampleN02.cc:38:31: error: ExN02EventAction.hh: No such file or directory
>exampleN02.cc:39:34: error: ExN02SteppingAction.hh: No such file or directory
>exampleN02.cc:40:35: error: ExN02SteppingVerbose.hh: No such file or directory
>In file included from /Users/physics/Gate/geant4.9.1.p03/include/globals.hh:71,
>                from /Users/physics/Gate/geant4.9.1.p03/include/G4RunManagerKernel.hh:66,
>                 from /Users/physics/Gate/geant4.9.1.p03/include/G4RunManager.hh:89,
>                 from exampleN02.cc:42:
>/Users/physics/Gate/geant4.9.1.p03/include/G4PhysicalConstants.hh:27:43: >error: CLHEP/Units/PhysicalConstants.h: No such file or directory
>In file included from /Users/physics/Gate/geant4.9.1.p03/include/globals.hh:72,
>                 from /Users/physics/Gate/geant4.9.1.p03/include>/G4RunManagerKernel.hh:66,

>                 from /Users/physics/Gate/geant4.9.1.p03/include>/G4RunManager.hh:89,
>                 from exampleN02.cc:42:

and it continues like that for quite a while. Any suggestions for how to fix this?

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

1 None: Re: Installation seems successful, but example cannot find headers. OSX 10.5.8 - Geant4.9.1   (jpmuzi - 19 Jul, 2010)
(_ None: Re: Installation seems successful, but example cannot find headers. OSX 10.5.8 - Geant4.9.1   (Ben Morgan - 20 Jul, 2010)
(_ None: Re: Installation seems successful, but example cannot find headers. OSX 10.5.8 - Geant4.9.1   (jpmuzi - 20 Jul, 2010)
(_ Question: Re: Installation seems successful, but example cannot find headers. OSX 10.5.8 - Geant4.9.1   (Ben Morgan - 20 Jul, 2010)
(_ None: Re: Installation seems successful, but example cannot find headers. OSX 10.5.8 - Geant4.9.1   (jpmuzi - 20 Jul, 2010)
(_ None: Re: Installation seems successful, but example cannot find headers. OSX 10.5.8 - Geant4.9.1   (Ben Morgan - 20 Jul, 2010)
(_ None: Re: Installation seems successful, but example cannot find headers. OSX 10.5.8 - Geant4.9.1   (jpmuzi - 20 Jul, 2010)
(_ None: Re: Installation seems successful, but example cannot find headers. OSX 10.5.8 - Geant4.9.1   (Ben Morgan - 21 Jul, 2010)
(_ None: Re: Installation seems successful, but example cannot find headers. OSX 10.5.8 - Geant4.9.1   (jpmuzi - 21 Jul, 2010)
(_ Idea: Re: Installation seems successful, but example cannot find headers. OSX 10.5.8 - Geant4.9.1   (Ben Morgan - 22 Jul, 2010)
1 Ok: Re: Installation seems successful, but example cannot find headers. OSX 10.5.8 - Geant4.9.1   (jpmuzi - 22 Jul, 2010)
2 None: Re: Installation seems successful, but example cannot find headers. OSX 10.5.8 - Geant4.9.1   (Michael H. Kelsey - 23 Jul, 2010)
3 None: Re: Installation seems successful, but example cannot find headers. OSX 10.5.8 - Geant4.9.1   (Michael H. Kelsey - 23 Jul, 2010)
 Add Message Add Message
to: "Installation seems successful, but example cannot find headers. OSX 10.5.8 - Geant4.9.1"

 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 ]