[Gate-users] Trouble Compiling gate_v5_0_0_p1
Bohnenberger, Hendrik
Hendrik.Bohnenberger at uniklinikum-saarland.de
Thu Apr 1 08:51:08 CEST 2010
Hello Melissa
I had some problems on compiling gate_v5.0.0_p01, too. I installed gate on Ubuntu 9.10. I could solve this problems by downgrading my compiler to one of the versions mentioned on opengatecollaboration homepage (gcc 3.2 to 4.2). After downgrading the gcc i could follow the GATE5.0.0 Installation giude for ubuntu from Bryan MacIntosh (//www.opengatecollaboration.org/fileadmin/documents/community/source-code/Gate5_installguide.tar.gz ) and everything went well.
But remember you have to reinstall all the other components (Geant4, clhep,....) too.
Maby this can solve your problems.
greetz
Hendrik
________________________________________
Von: gate-users-bounces at lists.opengatecollaboration.org [gate-users-bounces at lists.opengatecollaboration.org] im Auftrag von Melissa Freedenberg [mfreeden at ucdavis.edu]
Gesendet: Mittwoch, 31. März 2010 23:15
An: gate-users at lists.opengatecollaboration.org
Betreff: [Gate-users] Trouble Compiling gate_v5_0_0_p1
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
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
More information about the Gate-users
mailing list