[Gate-users] Trouble Compiling gate_v5_0_0_p1

Melissa Freedenberg mfreeden at ucdavis.edu
Wed Mar 31 23:15:24 CEST 2010


Hello,

I am a new user and have been working on compiling gate_v5_0_0_p1 for

some time now. I am using Kubuntu 9.10.



The other components I have installed are as follows:

root 5.18

geant4.9.2.p03

clhep-2.0.3.2

lmf_v3.0

gcc v4.4.1



 I am receiving the following errors, and was hoping someone might have

encountered the same errors and may be able to offer some advice in

resolving them. I have looked at past mailing list archives and have

found some problems which are similar, but do not appear to be the

same. Thank you!

Entering source/arf ...

make[1]: Nothing to be done for `obj'.

source/arf finished

Entering source/geometry ...

make[1]: Nothing to be done for `obj'.

source/geometry finished

Entering source/digitizer ...

make[1]: Nothing to be done for `obj'.

source/digitizer finished

Entering source/output ...

make[1]: Nothing to be done for `obj'.

source/output finished

Entering source/physics ...

Compiling GateSource.cc ...

src/GateSource.cc: In member function ‘virtual G4int

GateSource::GeneratePrimaries(G4Event*)’:

src/GateSource.cc:336: error: ‘GateToRoot’ was not declared in this scope

src/GateSource.cc:336: error: ‘gateToRoot’ was not declared in this scope

src/GateSource.cc:336: error: expected primary-expression before ‘)’ token

make[1]: *** [../../tmp/Linux-g++/Gate/GateSource.o] Error 1

source/physics finished

Entering source/voxel ...

make[1]: Nothing to be done for `obj'.

source/voxel finished

Entering source/mandatory_G4_classes ...

Making dependency for file src/GateEventAction.cc ...

src/GateEventAction.cc:43:2: error: #endif without #if

Compiling GateEventAction.cc ...

src/GateEventAction.cc:43:2: error: #endif without #if

src/GateEventAction.cc:41: error: ‘ifdef’ does not name a type

src/GateEventAction.cc:66: warning: unused parameter ‘evt’

src/GateEventAction.cc: In member function ‘virtual void

GateEventAction::EndOfEventAction(const G4Event*)’:

src/GateEventAction.cc:121: error: ‘GateToRoot’ was not declared in this
scope

src/GateEventAction.cc:121: error: ‘gateToRoot’ was not declared in this
scope

src/GateEventAction.cc:121: error: expected primary-expression before ‘)’
token

make[1]: *** [../../tmp/Linux-g++/Gate/GateEventAction.o] Error 1

source/mandatory_G4_classes finished

Entering source/management ...

Compiling GateAnalysis.cc ...

src/GateAnalysis.cc: In member function ‘virtual void

GateAnalysis::RecordEndOfEvent(const G4Event*)’:

src/GateAnalysis.cc:316: error: ‘GateToRoot’ was not declared in this scope

src/GateAnalysis.cc:316: error: ‘gateToRoot’ was not declared in this scope

src/GateAnalysis.cc:316: error: expected primary-expression before ‘)’ token

src/GateAnalysis.cc:317: error: ‘ComptonRayleighData’ was not declared

in this scope

src/GateAnalysis.cc:317: error: expected ‘;’ before ‘aCRData’

src/GateAnalysis.cc:318: error: ‘aCRData’ was not declared in this scope

src/GateAnalysis.cc:333: error: ‘GateToRoot’ was not declared in this scope

src/GateAnalysis.cc:333: error: ‘gateToRoot’ was not declared in this scope

src/GateAnalysis.cc:333: error: expected primary-expression before ‘)’ token

src/GateAnalysis.cc:334: error: ‘ComptonRayleighData’ was not declared

in this scope

src/GateAnalysis.cc:334: error: expected ‘;’ before ‘aCRData’

src/GateAnalysis.cc:335: error: ‘aCRData’ was not declared in this scope

make[1]: *** [../../tmp/Linux-g++/Gate/GateAnalysis.o] Error 1

source/management finished

Creating/replacing object files in

/home/melissa/software/geant4.9.2.p03//tmp/Linux-g++/Gate/libGate.a

...

ar: creating
/home/melissa/software/geant4.9.2.p03//tmp/Linux-g++/Gate/libGate.a

ar: /home/melissa/software/geant4.9.2.p03//tmp/Linux-g++/Gate/*.o: No

such file or directory

make: ***
[/home/melissa/software/geant4.9.2.p03//tmp/Linux-g++/Gate/libGate.a]

Error 1


More information about the Gate-users mailing list