| Summary: | ExmapleN01 compilation errors | ||
|---|---|---|---|
| Product: | Examples/Basic and Novice | Reporter: | jaztango |
| Component: | N01 | Assignee: | Gabriele Cosmo <Gabriele.Cosmo> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 7.1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
jaztango
2005-10-24 14:16:04 CEST
Can you please send the exact setup of your environment at the time you build exampleN01 ? If using tcsh shell, you can retrieve it with: setenv | grep G4 or if using bash shell, with: set | grep G4 jazmin schwartz wrote: > Hello: > > Here's the environment setup: > > G4PEX_DIR=/geant/geant4.7.1/examples/extended/persistency/rootio/ > G4BIN=./bin > G4LEVELGAMMADATA=/geant/geant4.7.1/data/PhotonEvaporation2.0 > G4ANALYSIS_USE_NTUPLE=1 > G4INSTALL=/geant/geant4.7.1 > G4INCLUDE=/geant/geant4.7.1/include > G4ANALYSIS_USE_ROOT_PLOTTER=1 > G4ELASTICDATA=/geant/geant4.7.1/data/G4ELASTIC1.1 > G4VERSION=7.1 > G4LEDATA=/geant/geant4.7.1/data/G4EMLOW3.0 > G4ANALYSIS_USE_ROOT=1 > G4ANALYSIS_USE=1 > G4VERSION5_1=1 > G4VERSION5_2=1 > G4VERSION6_2=1 > G4TMP=./tmp > G4RADIOACTIVEDATA=/geant/geant4.7.1/data/RadiativeDecay3.0 > G4LIB=/geant/geant4.7.1/lib > G4VERSION7_0=1 > G4LIB_BUILD_STATIC=1 > G4ANALYSIS_USE_FILE=1 > G4UI_USE_TCSH=1 > G4LIB_USE_GRANULAR=1 > G4SYSTEM=Linux-g++ > G4WORKDIR=. > NeutronHPCrossSections=/geant/geant4.7.1/data/G4NDL3.7 > G4VIS_BUILD_DAWN_DRIVER=1 > G4VIS_USE_DAWN=1 > G4VIS_BUILD_DAWNFILE_DRIVER=1 > G4VIS_USE_DAWNFILE=1 > > CLHEP_LIB_DIR=/usr/local/lib > CLHEP_BASE_DIR=/usr/local > CLHEP_INCLUDE_DIR=/usr/local/include > CLHEP_LIB=CLHEP It doesn't look to me there is anything wrong in your environment, apart from some variables (G4VERSION*) which I do not know what they mean and if they have anything to do with a customised setup you have for building your applications, please, verify that. I would suggest you to start from a clean environment and verify again your build. If the problem persists, it may be due to the gcc compiler you are using in your system (unfortunately, not all versions of the gcc compiler are good!), and in this case you can try to upgrade to a higher stable version (like gcc-3.4.4). You find a quich recipy on how to install an alternative version of\ the gcc compiler on Hypernews here: http://geant4-hn.slac.stanford.edu:5090/HyperNews/public/get/installconfig/428/3/1/1/1/1.html You should then reinstall CLHEP and Geant4 with the new compiler. Hope it helps. |