[Gate-users] Problem installing GATE

Hermann Fuchs hermann.fuchs at meduniwien.ac.at
Fri Jul 1 10:55:56 CEST 2011


Hello

There is a programming error in GateFastAnalysis.cc
which is still unfixed.

Try the attached version. Replace it with the original file in
source/digits_hits/src

Cheers,
Hermann

On Fri, 2011-07-01 at 16:43 +0800, Jasper C wrote:
> Hello all,
> 
> I'm a new user trying to install GATE on an Ubuntu 10.04 LTS system.
> I have followed the install instructions at:
> http://wiki.opengatecollaboration.org/index.php/InstallationGuide
> and have been able to successfully install the prerequisite packages.
> However the make command fails when I try to install GATE.  I have
> attached a file wtih the last section of the terminal output available
> to me, and the following are the very last lines:
> 
> ----------------------------------------------------------
> 
> In file included from Gate.cc:35:
> ./source/digits_hits/include/GateHitFileReader.hh: At global scope:
> ./source/digits_hits/include/GateHitFileReader.hh:102: error: ISO C++
> forbids declaration of ‘TFile’ with no type
> ./source/digits_hits/include/GateHitFileReader.hh:102: error: expected
> ‘;’ before ‘*’ token
> ./source/digits_hits/include/GateHitFileReader.hh:104: error: ISO C++
> forbids declaration of ‘TTree’ with no type
> ./source/digits_hits/include/GateHitFileReader.hh:104: error: expected
> ‘;’ before ‘*’ token
> ./source/digits_hits/include/GateHitFileReader.hh:105: error: ‘Stat_t’
> does not name a type
> Gate.cc: In function ‘void DecodeArguments(int, char**)’:
> Gate.cc:127: error: ‘gROOT’ was not declared in this scope
> Gate.cc: In function ‘int main(int, char**)’:
> Gate.cc:190: error: ‘gROOT’ was not declared in this scope
> /home/jasper/gate/clhep_2.1.0.1/include/CLHEP/Units/PhysicalConstants.h:
> At global scope:
> /home/jasper/gate/clhep_2.1.0.1/include/CLHEP/Units/PhysicalConstants.h:80:
> warning: ‘CLHEP::electron_charge’ defined but not used
> /home/jasper/gate/clhep_2.1.0.1/include/CLHEP/Random/Randomize.h:67:
> warning: ‘CLHEP::HepRandomGenActive’ defined but not used
> make: *** [tmp/Linux-g++/Gate/exe/Gate.o] Error 1
> 
> -------------------------------------------------------------------------------
> 
> The above (and attachement) are from when I tried to install GATE v6.1
> with the following:
> 
> Clhep v2.1.0.1
> Geant4 v9.4p02
> Root v5.30.00
> 
> I have also tried to install GATE v6.0.1 using the following:
> 
> Clhep v2.0.4.2
> Geant4 v9.2p0
> Root v5.28.00c
> 
> which resulted in the same error messages.
> 
> Could anyone advise on what I should do?  Assistance would be greatly
> appreciated.
> 
> Thank you!
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

-- 
-------------
DI Hermann Fuchs
Div. Medical Radiation Physics
Department of Radiotherapy
Med. Univ. Vienna / AKH Vienna
Währinger Gürtel 18-20
A-1090 Wien

Tel.  + 43 / 1 / 40 400 7271
Mail. hermann.fuchs at meduniwien.ac.at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GateFastAnalysis.cc
Type: text/x-c++src
Size: 3414 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20110701/7f2869fe/attachment.cc>


More information about the Gate-users mailing list