[Gate-users] Compilation error w/ GATE
Hon Yu
hjyu at uci.edu
Tue May 11 21:39:50 CEST 2010
Thanks, Kwangzoo.
Apparently, "variables.gmk" of GATE v5 is set up in a way that the
'CPPFLAGS' you mentioned is not implemented unless 'G4ANALYSIS_USE_ROOT'
is enabled - this was unset in the "env_gate.sh" file (based on suggestion
found in the installation guide) when the problem w/ a bunch of missing
'T***.h' files occured.
However, now that 'G4ANALYSIS_USE_ROOT' is enabled, there are some
different errors of 'undefined reference' during linking stage, shown
below (no more errors w/ missing 'T***.h' files though):
source/management finished
Using granular libraries ...
Linking Gate ...
./tmp/Linux-g++/Gate/libGate.a(GateOutputMgr.o): In function
`GateOutputMgr::GateOutputMgr(G4String) ':
GateOutputMgr.cc:(.text+0xf28): undefined reference to
`GateARFDataToRoot::GateARFDataToRoot(G4Strin
g const&, GateOutputMgr*, DigiMode)'
./tmp/Linux-g++/Gate/libGate.a(GateOutputMgr.o): In function
`GateOutputMgr::GateOutputMgr(G4String) ':
GateOutputMgr.cc:(.text+0x14b8): undefined reference to
`GateARFDataToRoot::GateARFDataToRoot(G4Stri
ng const&, GateOutputMgr*, DigiMode)'
./tmp/Linux-g++/Gate/libGate.a(GateSteppingAction.o): In function
`GateSteppingAction::UserSteppingA
ction(G4Step const*)':
GateSteppingAction.cc:(.text+0x2269): undefined reference to `typeinfo for
GateARFDataToRoot'
GateSteppingAction.cc:(.text+0x36bb): undefined reference to
`GateARFDataToRoot::IncrementNbOfSource
Photons()'
collect2: ld returned 1 exit status
make: *** [bin/Linux-g++/Gate] Error 1
Any suggestions?
Hon
> For gate_v5, you may want to check below line in "variables.gmk" file;
>
> CPPFLAGS += -DG4ANALYSIS_USE_ROOT -D_REENTRANT -I$(ROOTSYS)/include
>>
>
> see whether the directory is correctly pointed.
>
> Cheers,
> Kwangzoo
>
>
> On Tue, May 11, 2010 at 8:34 AM, Hon Yu <hjyu at uci.edu> wrote:
>
>> Hi,
>>
>> I am having the same problem as what Sebnem described during the
>> compilation of GATE in a Linux machine (Red Hat/gcc 4.1.2). I gather
>> that
>> it's likely to do w/ ROOT as all missing "T***.h" files are located
>> under
>> ~/GATE_ROOT/root/include; however, I'm not sure what environmental
>> setting
>> is the cause as I have followed the steps described in the latest
>> 'InstallationGuide - GATE collaborative documentation wiki' to the
>> letters.
>>
>> My "env_gate.sh" contains following environment variables:
>>
>> export GATEHOME=~/GATE_ROOT/gate_v5.0.0_p01
>> export G4INSTALL=~/GATE_ROOT/geant4.9.1.p03
>> export G4VERSION=9.1
>> export ROOTSYS=~/GATE_ROOT/root
>>
>> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib:~/GATE_ROOT/
>> 2.0.3.2/lib
>>
>> export PATH=$PATH:$ROOTSYS/bin:$GATEHOME/bin/$G4SYSTEM
>>
>> Also, the installation of CLHEP (v2.0.3.2), Geant4 (v9.1.p03) , and ROOT
>> (v5.26) was successfull by all indications prior to GATE installation.
>>
>> I'd greatly appreciate any suggestions any of you might have.
>>
>> Cordially,
>>
>> Hon
>>
>>
>> > ----------------------------------------------------------------
>> Dear Sebnem
>> it seems your problem is about Root installation,please installed
>> root completely and set it's environment properly.
>> then the problem will be solved.
>> hope this help you.
>>
>> regards
>>
>> On Sat, Mar 20, 2010 at 7:46 PM, sebnem erturk <sebnem.erturk at
>> gmail.com>wrote:
>>
>> > Hello All,
>> >
>> > I am trying to install on my desktop:
>> >
>> > gate_v6
>> > root_v5.26
>> > CLHEP2.0.4.2
>> > geant_v9.1 patch2
>> > my gcc verison 4.1.3
>> >
>> > I am taking below messages?
>> >
>> > how should I fix the problem?
>> >
>> > Thanks for any kind of information.
>> >
>> > Regards,
>> >
>> > Sebnem
>> >
>> > [root at pbcical gate_v6.0.0]# make
>> > Making dependency for file Gate.cc ...
>> > In file included from ./source/physics/include/GateSourceMgr.hh:20,
>> > from Gate.cc:21:
>> > ./source/physics/include/GateSourcePhaseSpace.hh:14:19: error:
>> TROOT.h:
>> No
>> > such file or directory
>> > ./source/physics/include/GateSourcePhaseSpace.hh:15:19: error:
>> TFile.h:
>> No
>> > such file or directory
>> > ./source/physics/include/GateSourcePhaseSpace.hh:16:19: error:
>> TTree.h:
>> No
>> > such file or directory
>> > ./source/physics/include/GateSourcePhaseSpace.hh:17:20: error:
>> TChain.h:
>> No
>> > such file or directory
>> > ./source/physics/include/GateSourcePhaseSpace.hh:18:18: error: TH1D.h:
>> No
>> > such file or directory
>> > ./source/physics/include/GateSourcePhaseSpace.hh:19:19: error:
>> TMath.h:
>> No
>> > such file or directory
>> > ./source/physics/include/GateSourcePhaseSpace.hh:20:18: error: TKey.h:
>> No
>> > such file or directory
>> > In file included from Gate.cc:33:
>> > ./source/digits_hits/include/GateROOTBasicOutput.hh:21:19: error:
>> TROOT.h:
>> > No such file or directory
>> > ./source/digits_hits/include/GateROOTBasicOutput.hh:22:19: error:
>> TFile.h:
>> > No such file or directory
>> > ./source/digits_hits/include/GateROOTBasicOutput.hh:23:17: error:
>> TH1.h:
>> No
>> > such file or directory
>> > ./source/digits_hits/include/GateROOTBasicOutput.hh:24:17: error:
>> TH2.h:
>> No
>> > such file or directory
>> > ./source/digits_hits/include/GateROOTBasicOutput.hh:25:22: error:
>> > TProfile.h: No such file or directory
>> > ./source/digits_hits/include/GateROOTBasicOutput.hh:26:21: error:
>> > TNtuple.h:
>> > No such file or directory
>> > ./source/digits_hits/include/GateROOTBasicOutput.hh:27:19: error:
>> TTree.h:
>> > No such file or directory
>> > ./source/digits_hits/include/GateROOTBasicOutput.hh:28:21: error:
>> > TBranch.h:
>> > No such file or directory
>> > ./source/digits_hits/include/GateROOTBasicOutput.hh:29:21: error:
>> > TRandom.h:
>> > No such file or directory
>> > Gate.cc:34:28: error: TPluginManager.h: No such file or directory
>> > In file included from
>> ./source/digits_hits/include/GateHitFileReader.hh:30,
>> > from Gate.cc:35:
>> > ./source/general/include/GateRootDefs.hh:20:19: error: TROOT.h: No
>> such
>> > file
>> > or directory
>> > ./source/general/include/GateRootDefs.hh:21:19: error: TTree.h: No
>> such
>> > file
>> > or directory
>> > Entering source/arf ...
>> > Making dependency for file src/GateARFTableMgrMessenger.cc ...
>> > Making dependency for file src/GateARFTableMgr.cc ...
>> > In file included from src/GateARFTableMgr.cc:12:
>> > ../arf/include/GateARFTable.hh:18:19: error: TROOT.h: No such file or
>> > directory
>> > ../arf/include/GateARFTable.hh:19:19: error: TFile.h: No such file or
>> > directory
>> > ../arf/include/GateARFTable.hh:20:24: error: TDirectory.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFTable.hh:21:19: error: TTree.h: No such file or
>> > directory
>> > ../arf/include/GateARFTable.hh:22:21: error: TBranch.h: No such file
>> or
>> > directory
>> > Making dependency for file src/GateARFTable.cc ...
>> > In file included from src/GateARFTable.cc:11:
>> > ../arf/include/GateARFTable.hh:18:19: error: TROOT.h: No such file or
>> > directory
>> > ../arf/include/GateARFTable.hh:19:19: error: TFile.h: No such file or
>> > directory
>> > ../arf/include/GateARFTable.hh:20:24: error: TDirectory.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFTable.hh:21:19: error: TTree.h: No such file or
>> > directory
>> > ../arf/include/GateARFTable.hh:22:21: error: TBranch.h: No such file
>> or
>> > directory
>> > src/GateARFTable.cc:20:19: error: TROOT.h: No such file or directory
>> > src/GateARFTable.cc:21:19: error: TFile.h: No such file or directory
>> > src/GateARFTable.cc:22:24: error: TDirectory.h: No such file or
>> directory
>> > src/GateARFTable.cc:23:19: error: TTree.h: No such file or directory
>> > src/GateARFTable.cc:24:21: error: TBranch.h: No such file or directory
>> > src/GateARFTable.cc:25:18: error: TH2D.h: No such file or directory
>> > src/GateARFTable.cc:26:18: error: TH1D.h: No such file or directory
>> > src/GateARFTable.cc:30:19: error: TMath.h: No such file or directory
>> > Making dependency for file src/GateARFSDMessenger.cc ...
>> > In file included from src/GateARFSDMessenger.cc:13:
>> > ../arf/include/GateARFSD.hh:17:19: error: TROOT.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:18:19: error: TFile.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:19:24: error: TDirectory.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFSD.hh:20:19: error: TTree.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:21:21: error: TBranch.h: No such file or
>> > directory
>> > Making dependency for file src/GateARFSD.cc ...
>> > In file included from src/GateARFSD.cc:12:
>> > ../arf/include/GateARFSD.hh:17:19: error: TROOT.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:18:19: error: TFile.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:19:24: error: TDirectory.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFSD.hh:20:19: error: TTree.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:21:21: error: TBranch.h: No such file or
>> > directory
>> > src/GateARFSD.cc:48:18: error: TH1D.h: No such file or directory
>> > Making dependency for file src/GateARFDataToRootMessenger.cc ...
>> > In file included from ../arf/include/GateARFDataToRootMessenger.hh:17,
>> > from src/GateARFDataToRootMessenger.cc:13:
>> > ../arf/include/GateARFDataToRoot.hh:18:19: error: TROOT.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:19:19: error: TFile.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:20:17: error: TH1.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:21:17: error: TH2.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:22:17: error: TH3.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:23:21: error: TNtuple.h: No such
>> file
>> > or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:24:21: error: TRandom.h: No such
>> file
>> > or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:25:24: error: TDirectory.h: No
>> such
>> > file
>> > or directory
>> > ../arf/include/GateARFDataToRoot.hh:26:19: error: TTree.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:27:21: error: TBranch.h: No such
>> file
>> > or
>> > directory
>> > Making dependency for file src/GateARFDataToRoot.cc ...
>> > In file included from src/GateARFDataToRoot.cc:14:
>> > ../arf/include/GateARFDataToRoot.hh:18:19: error: TROOT.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:19:19: error: TFile.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:20:17: error: TH1.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:21:17: error: TH2.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:22:17: error: TH3.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:23:21: error: TNtuple.h: No such
>> file
>> > or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:24:21: error: TRandom.h: No such
>> file
>> > or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:25:24: error: TDirectory.h: No
>> such
>> > file
>> > or directory
>> > ../arf/include/GateARFDataToRoot.hh:26:19: error: TTree.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:27:21: error: TBranch.h: No such
>> file
>> > or
>> > directory
>> > src/GateARFDataToRoot.cc:50:19: error: TROOT.h: No such file or
>> directory
>> > src/GateARFDataToRoot.cc:51:26: error: TApplication.h: No such file or
>> > directory
>> > src/GateARFDataToRoot.cc:52:22: error: TGClient.h: No such file or
>> > directory
>> > src/GateARFDataToRoot.cc:53:21: error: TCanvas.h: No such file or
>> directory
>> > src/GateARFDataToRoot.cc:54:21: error: TSystem.h: No such file or
>> directory
>> > src/GateARFDataToRoot.cc:55:19: error: TTree.h: No such file or
>> directory
>> > src/GateARFDataToRoot.cc:56:21: error: TBranch.h: No such file or
>> directory
>> > src/GateARFDataToRoot.cc:57:19: error: TFile.h: No such file or
>> directory
>> > Making dependency for file src/GateARFTableMgr.cc ...
>> > In file included from src/GateARFTableMgr.cc:12:
>> > ../arf/include/GateARFTable.hh:18:19: error: TROOT.h: No such file or
>> > directory
>> > ../arf/include/GateARFTable.hh:19:19: error: TFile.h: No such file or
>> > directory
>> > ../arf/include/GateARFTable.hh:20:24: error: TDirectory.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFTable.hh:21:19: error: TTree.h: No such file or
>> > directory
>> > ../arf/include/GateARFTable.hh:22:21: error: TBranch.h: No such file
>> or
>> > directory
>> > Making dependency for file src/GateARFTable.cc ...
>> > In file included from src/GateARFTable.cc:11:
>> > ../arf/include/GateARFTable.hh:18:19: error: TROOT.h: No such file or
>> > directory
>> > ../arf/include/GateARFTable.hh:19:19: error: TFile.h: No such file or
>> > directory
>> > ../arf/include/GateARFTable.hh:20:24: error: TDirectory.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFTable.hh:21:19: error: TTree.h: No such file or
>> > directory
>> > ../arf/include/GateARFTable.hh:22:21: error: TBranch.h: No such file
>> or
>> > directory
>> > src/GateARFTable.cc:20:19: error: TROOT.h: No such file or directory
>> > src/GateARFTable.cc:21:19: error: TFile.h: No such file or directory
>> > src/GateARFTable.cc:22:24: error: TDirectory.h: No such file or
>> directory
>> > src/GateARFTable.cc:23:19: error: TTree.h: No such file or directory
>> > src/GateARFTable.cc:24:21: error: TBranch.h: No such file or directory
>> > src/GateARFTable.cc:25:18: error: TH2D.h: No such file or directory
>> > src/GateARFTable.cc:26:18: error: TH1D.h: No such file or directory
>> > src/GateARFTable.cc:30:19: error: TMath.h: No such file or directory
>> > Making dependency for file src/GateARFSDMessenger.cc ...
>> > In file included from src/GateARFSDMessenger.cc:13:
>> > ../arf/include/GateARFSD.hh:17:19: error: TROOT.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:18:19: error: TFile.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:19:24: error: TDirectory.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFSD.hh:20:19: error: TTree.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:21:21: error: TBranch.h: No such file or
>> > directory
>> > Making dependency for file src/GateARFSD.cc ...
>> > In file included from src/GateARFSD.cc:12:
>> > ../arf/include/GateARFSD.hh:17:19: error: TROOT.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:18:19: error: TFile.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:19:24: error: TDirectory.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFSD.hh:20:19: error: TTree.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:21:21: error: TBranch.h: No such file or
>> > directory
>> > src/GateARFSD.cc:48:18: error: TH1D.h: No such file or directory
>> > Making dependency for file src/GateARFDataToRootMessenger.cc ...
>> > In file included from ../arf/include/GateARFDataToRootMessenger.hh:17,
>> > from src/GateARFDataToRootMessenger.cc:13:
>> > ../arf/include/GateARFDataToRoot.hh:18:19: error: TROOT.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:19:19: error: TFile.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:20:17: error: TH1.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:21:17: error: TH2.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:22:17: error: TH3.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:23:21: error: TNtuple.h: No such
>> file
>> > or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:24:21: error: TRandom.h: No such
>> file
>> > or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:25:24: error: TDirectory.h: No
>> such
>> > file
>> > or directory
>> > ../arf/include/GateARFDataToRoot.hh:26:19: error: TTree.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:27:21: error: TBranch.h: No such
>> file
>> > or
>> > directory
>> > Making dependency for file src/GateARFDataToRoot.cc ...
>> > In file included from src/GateARFDataToRoot.cc:14:
>> > ../arf/include/GateARFDataToRoot.hh:18:19: error: TROOT.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:19:19: error: TFile.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:20:17: error: TH1.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:21:17: error: TH2.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:22:17: error: TH3.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:23:21: error: TNtuple.h: No such
>> file
>> > or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:24:21: error: TRandom.h: No such
>> file
>> > or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:25:24: error: TDirectory.h: No
>> such
>> > file
>> > or directory
>> > ../arf/include/GateARFDataToRoot.hh:26:19: error: TTree.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:27:21: error: TBranch.h: No such
>> file
>> > or
>> > directory
>> > src/GateARFDataToRoot.cc:50:19: error: TROOT.h: No such file or
>> directory
>> > src/GateARFDataToRoot.cc:51:26: error: TApplication.h: No such file or
>> > directory
>> > src/GateARFDataToRoot.cc:52:22: error: TGClient.h: No such file or
>> > directory
>> > src/GateARFDataToRoot.cc:53:21: error: TCanvas.h: No such file or
>> directory
>> > src/GateARFDataToRoot.cc:54:21: error: TSystem.h: No such file or
>> directory
>> > src/GateARFDataToRoot.cc:55:19: error: TTree.h: No such file or
>> directory
>> > src/GateARFDataToRoot.cc:56:21: error: TBranch.h: No such file or
>> directory
>> > src/GateARFDataToRoot.cc:57:19: error: TFile.h: No such file or
>> directory
>> > Compiling GateARFDataToRoot.cc ...
>> > In file included from src/GateARFDataToRoot.cc:14:
>> > ../arf/include/GateARFDataToRoot.hh:18:19: error: TROOT.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:19:19: error: TFile.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:20:17: error: TH1.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:21:17: error: TH2.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:22:17: error: TH3.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:23:21: error: TNtuple.h: No such
>> file
>> > or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:24:21: error: TRandom.h: No such
>> file
>> > or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:25:24: error: TDirectory.h: No
>> such
>> > file
>> > or directory
>> > ../arf/include/GateARFDataToRoot.hh:26:19: error: TTree.h: No such
>> file
>> or
>> > directory
>> > ../arf/include/GateARFDataToRoot.hh:27:21: error: TBranch.h: No such
>> file
>> > or
>> > directory
>> > src/GateARFDataToRoot.cc:50:19: error: TROOT.h: No such file or
>> directory
>> > src/GateARFDataToRoot.cc:51:26: error: TApplication.h: No such file or
>> > directory
>> > src/GateARFDataToRoot.cc:52:22: error: TGClient.h: No such file or
>> > directory
>> > src/GateARFDataToRoot.cc:53:21: error: TCanvas.h: No such file or
>> directory
>> > src/GateARFDataToRoot.cc:54:21: error: TSystem.h: No such file or
>> directory
>> > src/GateARFDataToRoot.cc:55:19: error: TTree.h: No such file or
>> directory
>> > src/GateARFDataToRoot.cc:56:21: error: TBranch.h: No such file or
>> directory
>> > src/GateARFDataToRoot.cc:57:19: error: TFile.h: No such file or
>> directory
>> > ../arf/include/GateARFDataToRoot.hh:116: error: ISO C++ forbids
>> declaration
>> > of TFile with no type
>> > ../arf/include/GateARFDataToRoot.hh:116: error: expected ; before
>> *
>> > token
>> > ../arf/include/GateARFDataToRoot.hh:117: error: ISO C++ forbids
>> declaration
>> > of TTree with no type
>> > ../arf/include/GateARFDataToRoot.hh:117: error: expected ; before
>> *
>> > token
>> > ../arf/include/GateARFDataToRoot.hh:118: error: ISO C++ forbids
>> declaration
>> > of TTree with no type
>> > ../arf/include/GateARFDataToRoot.hh:118: error: expected ; before
>> *
>> > token
>> > ../arf/include/GateARFDataToRoot.hh:133: error: ULong64_t does not
>> name
>> a
>> > type
>> > ../arf/include/GateARFDataToRoot.hh:134: error: ULong64_t does not
>> name
>> a
>> > type
>> > ../arf/include/GateARFDataToRoot.hh:135: error: ULong64_t does not
>> name
>> a
>> > type
>> > ../arf/include/GateARFDataToRoot.hh:136: error: ULong64_t does not
>> name
>> a
>> > type
>> > ../arf/include/GateARFDataToRoot.hh:137: error: ULong64_t does not
>> name
>> a
>> > type
>> > ../arf/include/GateARFDataToRoot.hh:138: error: ULong64_t does not
>> name
>> a
>> > type
>> > ../arf/include/GateARFDataToRoot.hh:139: error: ULong64_t does not
>> name
>> a
>> > type
>> > ../arf/include/GateARFDataToRoot.hh:140: error: ULong64_t does not
>> name
>> a
>> > type
>> > ../arf/include/GateARFDataToRoot.hh:141: error: ULong64_t does not
>> name
>> a
>> > type
>> > ../arf/include/GateARFDataToRoot.hh:142: error: ULong64_t does not
>> name
>> a
>> > type
>> > ../arf/include/GateARFDataToRoot.hh:143: error: ULong64_t does not
>> name
>> a
>> > type
>> > ../arf/include/GateARFDataToRoot.hh:144: error: ULong64_t does not
>> name
>> a
>> > type
>> > ../arf/include/GateARFDataToRoot.hh: In member function long unsigned
>> int
>> > GateARFDataToRoot::GetNbOfGoingOutPhotons():
>> > ../arf/include/GateARFDataToRoot.hh:92: error: NbofGoingOutPhotons
>> was
>> > not
>> > declared in this scope
>> > ../arf/include/GateARFDataToRoot.hh: In member function long unsigned
>> int
>> > GateARFDataToRoot::GetNbOfInPhotons():
>> > ../arf/include/GateARFDataToRoot.hh:93: error: NbofGoingInPhotons
>> was
>> not
>> > declared in this scope
>> > ../arf/include/GateARFDataToRoot.hh: In member function void
>> > GateARFDataToRoot::IncrementGoingInPhotons():
>> > ../arf/include/GateARFDataToRoot.hh:94: error: NbofGoingInPhotons
>> was
>> not
>> > declared in this scope
>> > ../arf/include/GateARFDataToRoot.hh: In member function void
>> > GateARFDataToRoot::IncrementGoingOutPhotons():
>> > ../arf/include/GateARFDataToRoot.hh:95: error: NbofGoingOutPhotons
>> was
>> > not
>> > declared in this scope
>> > ../arf/include/GateARFDataToRoot.hh: In member function void
>> > GateARFDataToRoot::IncrementKilledInsideCrystalPhotons():
>> > ../arf/include/GateARFDataToRoot.hh:96: error:
>> > NbofKilledInsideCrystalPhotons was not declared in this scope
>> > ../arf/include/GateARFDataToRoot.hh: In member function void
>> > GateARFDataToRoot::IncrementKilledInsideColliPhotons():
>> > ../arf/include/GateARFDataToRoot.hh:97: error:
>> > NbofKilledInsideColliPhotons was not declared in this scope
>> > ../arf/include/GateARFDataToRoot.hh: In member function void
>> > GateARFDataToRoot::IncrementKilledInsideCamera():
>> > ../arf/include/GateARFDataToRoot.hh:98: error:
>> NbofKilledInsideCamera
>> was
>> > not declared in this scope
>> > ../arf/include/GateARFDataToRoot.hh: In member function void
>> > GateARFDataToRoot::IncrementInCamera():
>> > ../arf/include/GateARFDataToRoot.hh:99: error: IN_camera was not
>> declared
>> > in this scope
>> > ../arf/include/GateARFDataToRoot.hh: In member function void
>> > GateARFDataToRoot::IncrementOutCamera():
>> > ../arf/include/GateARFDataToRoot.hh:100: error: OUT_camera was not
>> > declared in this scope
>> > src/GateARFDataToRoot.cc: In constructor
>> > GateARFDataToRoot::GateARFDataToRoot(const G4String&, GateOutputMgr*,
>> > DigiMode):
>> > src/GateARFDataToRoot.cc:81: error: m_ARFDatafile was not declared
>> in
>> > this
>> > scope
>> > src/GateARFDataToRoot.cc:82: error: m_ARFDataTree was not declared
>> in
>> > this
>> > scope
>> > src/GateARFDataToRoot.cc:86: error: NbofGoingOutPhotons was not
>> declared
>> > in this scope
>> > src/GateARFDataToRoot.cc:87: error: NbofStraightPhotons was not
>> declared
>> > in this scope
>> > src/GateARFDataToRoot.cc:88: error: NbofGoingInPhotons was not
>> declared
>> > in
>> > this scope
>> > src/GateARFDataToRoot.cc:89: error: NbofKilledInsideCrystalPhotons
>> was
>> > not
>> > declared in this scope
>> > src/GateARFDataToRoot.cc:90: error: NbofKilledInsideColliPhotons was
>> not
>> > declared in this scope
>> > src/GateARFDataToRoot.cc:90: error: NbofKilledInsideCamera was not
>> > declared in this scope
>> > src/GateARFDataToRoot.cc:91: error: NbOfSourcePhotons was not
>> declared
>> in
>> > this scope
>> > src/GateARFDataToRoot.cc:92: error: NbofStoredPhotons was not
>> declared
>> in
>> > this scope
>> > src/GateARFDataToRoot.cc:94: error: IN_camera was not declared in
>> this
>> > scope
>> > src/GateARFDataToRoot.cc:95: error: OUT_camera was not declared in
>> this
>> > scope
>> > src/GateARFDataToRoot.cc: In member function virtual void
>> > GateARFDataToRoot::RecordBeginOfAcquisition():
>> > src/GateARFDataToRoot.cc:122: error: m_ARFDatafile was not declared
>> in
>> > this scope
>> > src/GateARFDataToRoot.cc:122: error: expected type-specifier before
>> TFile
>> > src/GateARFDataToRoot.cc:122: error: expected `;' before TFile
>> > src/GateARFDataToRoot.cc:124: error: m_ARFDataTree was not declared
>> in
>> > this scope
>> > src/GateARFDataToRoot.cc:124: error: expected type-specifier before
>> TTree
>> > src/GateARFDataToRoot.cc:124: error: expected `;' before TTree
>> > src/GateARFDataToRoot.cc:130: error: m_NbOfPhotonsTree was not
>> declared
>> > in
>> > this scope
>> > src/GateARFDataToRoot.cc:130: error: expected type-specifier before
>> TTree
>> > src/GateARFDataToRoot.cc:130: error: expected `;' before TTree
>> > src/GateARFDataToRoot.cc:131: error: NbofGoingOutPhotons was not
>> declared
>> > in this scope
>> > src/GateARFDataToRoot.cc:132: error: NbofGoingInPhotons was not
>> declared
>> > in this scope
>> > src/GateARFDataToRoot.cc:133: error: NbOfSourcePhotons was not
>> declared
>> > in
>> > this scope
>> > src/GateARFDataToRoot.cc:134: error: IN_camera was not declared in
>> this
>> > scope
>> > src/GateARFDataToRoot.cc:135: error: OUT_camera was not declared in
>> this
>> > scope
>> > src/GateARFDataToRoot.cc:136: error: NbofStoredPhotons was not
>> declared
>> > in
>> > this scope
>> > src/GateARFDataToRoot.cc: In member function void
>> > GateARFDataToRoot::IncrementNbOfSourcePhotons():
>> > src/GateARFDataToRoot.cc:229: error: NbOfSourcePhotons was not
>> declared
>> > in
>> > this scope
>> > src/GateARFDataToRoot.cc: In member function void
>> > GateARFDataToRoot::CloseARFDataRootFile():
>> > src/GateARFDataToRoot.cc:239: error: m_ARFDatafile was not declared
>> in
>> > this scope
>> > src/GateARFDataToRoot.cc:239: error: m_ARFDataTree was not declared
>> in
>> > this scope
>> > src/GateARFDataToRoot.cc:247: error: m_NbOfPhotonsTree was not
>> declared
>> > in
>> > this scope
>> > src/GateARFDataToRoot.cc: In member function G4int
>> > GateARFDataToRoot::StoreARFData(GateSingleDigi*):
>> > src/GateARFDataToRoot.cc:259: error: NbofStoredPhotons was not
>> declared
>> > in
>> > this scope
>> > src/GateARFDataToRoot.cc:263: error: NbOfSourcePhotons was not
>> declared
>> > in
>> > this scope
>> > src/GateARFDataToRoot.cc:290: error: m_ARFDataTree was not declared
>> in
>> > this scope
>> > src/GateARFDataToRoot.cc: In member function void
>> > GateARFDataToRoot::DisplayARFStatistics():
>> > src/GateARFDataToRoot.cc:302: error: NbOfSourcePhotons was not
>> declared
>> > in
>> > this scope
>> > src/GateARFDataToRoot.cc:303: error: NbofStoredPhotons was not
>> declared
>> > in
>> > this scope
>> > src/GateARFDataToRoot.cc:304: error: OUT_camera was not declared in
>> this
>> > scope
>> > src/GateARFDataToRoot.cc:305: error: IN_camera was not declared in
>> this
>> > scope
>> > src/GateARFDataToRoot.cc:306: error: NbofGoingOutPhotons was not
>> declared
>> > in this scope
>> > src/GateARFDataToRoot.cc:307: error: NbofGoingInPhotons was not
>> declared
>> > in this scope
>> > src/GateARFDataToRoot.cc:308: error: NbofKilledInsideColliPhotons
>> was
>> not
>> > declared in this scope
>> > src/GateARFDataToRoot.cc:309: error: NbofKilledInsideCamera was not
>> > declared in this scope
>> > src/GateARFDataToRoot.cc:310: error: NbofKilledInsideCrystalPhotons
>> was
>> > not declared in this scope
>> > /root/2.0.4.2/CLHEP/include/CLHEP/Units/PhysicalConstants.h: At global
>> > scope:
>> > /root/2.0.4.2/CLHEP/include/CLHEP/Units/PhysicalConstants.h:80:
>> warning:
>> > CLHEP::electron_charge defined but not used
>> > /root/2.0.4.2/CLHEP/include/CLHEP/Random/Randomize.h:67: warning:
>> > CLHEP::HepRandomGenActive defined but not used
>> > make[1]: *** [../../tmp/Linux-g++/Gate/GateARFDataToRoot.o] Error 1
>> > source/arf finished
>> > Entering source/geometry ...
>> > Making dependency for file src/GateWedgeMessenger.cc ...
>> > Making dependency for file src/GateWedgeComponent.cc ...
>> > Making dependency for file src/GateWedge.cc ...
>> > Making dependency for file src/GateVVolume.cc ...
>> > In file included from src/GateVVolume.cc:46:
>> > ../arf/include/GateARFSD.hh:17:19: error: TROOT.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:18:19: error: TFile.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:19:24: error: TDirectory.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFSD.hh:20:19: error: TTree.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:21:21: error: TBranch.h: No such file or
>> > directory
>> > Making dependency for file src/GateVSystem.cc ...
>> > In file included from src/GateVSystem.cc:27:
>> > ../general/include/GateRootDefs.hh:20:19: error: TROOT.h: No such file
>> or
>> > directory
>> > ../general/include/GateRootDefs.hh:21:19: error: TTree.h: No such file
>> or
>> > directory
>> > Making dependency for file src/GateVoxelOutputMessenger.cc ...
>> > Making dependency for file src/GateVoxelOutput.cc ...
>> > Making dependency for file src/GateVoxelCompressorMessenger.cc ...
>> > Making dependency for file src/GateVoxelCompressor.cc ...
>> > Making dependency for file src/GateVoxelBoxParameterizedMessenger.cc
>> ...
>> > Making dependency for file src/GateVoxelBoxParameterized.cc ...
>> > Making dependency for file src/GateVoxelBoxParameterization.cc ...
>> > Making dependency for file src/GateVoxelBoxParam.cc ...
>> > Making dependency for file src/GateVolumePlacementMessenger.cc ...
>> > Making dependency for file src/GateVolumePlacement.cc ...
>> > Making dependency for file src/GateVolumeMessenger.cc ...
>> > Making dependency for file src/GateVolumeManager.cc ...
>> > Making dependency for file src/GateVolumeID.cc ...
>> > Making dependency for file src/GateVisAttributesMessenger.cc ...
>> > Making dependency for file src/GateVImageVolumeMessenger.cc ...
>> > Making dependency for file src/GateVImageVolume.cc ...
>> > Making dependency for file src/GateVGlobalPlacement.cc ...
>> > Making dependency for file src/GateVGeometryVoxelTranslator.cc ...
>> > Making dependency for file src/GateVGeometryVoxelStoreMessenger.cc ...
>> > Making dependency for file src/GateVGeometryVoxelStore.cc ...
>> > Making dependency for file src/GateVGeometryVoxelReaderMessenger.cc
>> ...
>> > Making dependency for file src/GateVGeometryVoxelReader.cc ...
>> > Making dependency for file src/GateTrpdMessenger.cc ...
>> > Making dependency for file src/GateTrpd.cc ...
>> > Making dependency for file src/GateTrapMessenger.cc ...
>> > Making dependency for file src/GateTrap.cc ...
>> > Making dependency for file src/GateTranslationMoveMessenger.cc ...
>> > Making dependency for file src/GateTranslationMove.cc ...
>> > Making dependency for file src/GateSystemListMessenger.cc ...
>> > Making dependency for file src/GateSystemListManager.cc ...
>> > Making dependency for file src/GateSystemComponentMessenger.cc ...
>> > Making dependency for file src/GateSystemComponentListMessenger.cc ...
>> > Making dependency for file src/GateSystemComponentList.cc ...
>> > Making dependency for file src/GateSystemComponent.cc ...
>> > Making dependency for file src/GateSurfaceMessenger.cc ...
>> > Making dependency for file src/GateSurfaceListMessenger.cc ...
>> > Making dependency for file src/GateSurfaceList.cc ...
>> > Making dependency for file src/GateSurface.cc ...
>> > Making dependency for file src/GateSphereRepeaterMessenger.cc ...
>> > Making dependency for file src/GateSphereRepeater.cc ...
>> > Making dependency for file src/GateSphereMessenger.cc ...
>> > Making dependency for file src/GateSphere.cc ...
>> > Making dependency for file src/GateSPECTHeadSystem.cc ...
>> > In file included from src/GateSPECTHeadSystem.cc:19:
>> > ../arf/include/GateARFSD.hh:17:19: error: TROOT.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:18:19: error: TFile.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:19:24: error: TDirectory.h: No such file
>> or
>> > directory
>> > ../arf/include/GateARFSD.hh:20:19: error: TTree.h: No such file or
>> > directory
>> > ../arf/include/GateARFSD.hh:21:21: error: TBranch.h: No such file or
>> > directory
>> >
>> >
>> > --
>> > Sebnem Erturk
>> > University of Pisa
>> > Applied Physics Dpt.
>> > Largo Pontecorvo
>> > 56127 Pisa-Italy
>> > Office :0039 050 2214346
>> > Mobile :0039 345 3331440
>> > http://www.df.unipi.it/~fiig/ <http://www.df.unipi.it/%7Efiig/>
>> > _______________________________________________
>> > Gate-users mailing list
>> > Gate-users at lists.opengatecollaboration.org
>> > http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>
>>
>> --
>> **********************************
>> Hon Yu, Ph.D.
>>
>> Research Imaging Center /
>> Center for Functional Onco Imaging
>> 132 Irvine Hall
>> Irvine, CA 92697-5020
>> phone:(949)824-6001/5479
>> fax:(949)824-3481
>> email:hjyu at uci.edu <email%3Ahjyu at uci.edu>
>> **********************************
>>
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>
>
>
>
> --
> "We are what we repeatedly do." - Aristotle, 384BC-322BC
>
--
**********************************
Hon Yu, Ph.D.
Research Imaging Center /
Center for Functional Onco Imaging
132 Irvine Hall
Irvine, CA 92697-5020
phone:(949)824-6001/5479
fax:(949)824-3481
email:hjyu at uci.edu
**********************************
More information about the Gate-users
mailing list