Message: Lacking include files Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Lacking include files 

Keywords: include files
Forum: Documentation and Examples
Date: 06 May, 2008
From: zaldy <zaldynow@yahoo.com.ph>

Dear Folks,

I would like to report on this strange error under advanced example

/examples/advanced/gammaray_telescope

gcc 3.4.6 on CERN Linux 4.6

I am using CLHEP 2.0.3.1 compile from source file

geant 4.9.0.p02

Though I added the lines below on the file GammaRayTelMuonPhysics.cc

#include "G4MuonPlus.hh" ///added      
#include "G4TauPlus.hh"  ///added
#include "G4TauMinus.hh" ///added

then it compiled

==================================================
Compiling GammaRayTelHadronPhysics.cc ...
Compiling GammaRayTelIonPhysics.cc ...
Compiling GammaRayTelMuonPhysics.cc ...
src/GammaRayTelMuonPhysics.cc: In member function `virtual void GammaRayTelMuonPhysics::ConstructProcess()':
src/GammaRayTelMuonPhysics.cc:61: error: `G4MuonPlus' has not been declared
src/GammaRayTelMuonPhysics.cc:61: error: `MuonPlus' was not declared in this scope
src/GammaRayTelMuonPhysics.cc:88: error: `G4TauPlus' has not been declared
src/GammaRayTelMuonPhysics.cc:88: error: `TauPlus' was not declared in this scope
src/GammaRayTelMuonPhysics.cc:97: error: `G4TauMinus' has not been declared
src/GammaRayTelMuonPhysics.cc:97: error: `TauMinus' was not declared in this scope
src/GammaRayTelMuonPhysics.cc:61: warning: unused variable 'MuonPlus'
src/GammaRayTelMuonPhysics.cc:88: warning: unused variable 'TauPlus'
src/GammaRayTelMuonPhysics.cc:97: warning: unused variable 'TauMinus'
/home/zaldy/CLHEP-2.0.3.1/include/CLHEP/Random/Randomize.h: At global scope:
/home/zaldy/CLHEP-2.0.3.1/include/CLHEP/Random/Randomize.h:67: warning: 'CLHEP::HepRandomGenActive' defined but not used
make: *** [/home/zaldy/G4April22th2008WORKDIR/examples/advanced/gammaray_telescope/tmp/Linux-g++/GammaRayTel/GammaRayTelMuonPhysics.o] Error 1
======================================================

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

 Add Message Add Message
to: "Lacking include files"

 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 ]