[Gate-users] Error compiling GATE version 4

Peter Bloomfield peter.bloomfield at camhpet.ca
Fri Aug 22 22:27:06 CEST 2008


On Friday 22 August 2008 16:21, KB wrote:
> Hello All,
>
>    I have the following installed : clhep-2.0.3.2    geant4.9.1.p02
> root_v5.20.00
> and the LD_LIBRARY_PATH variables set, but cannot seem to compile GATE.
>
> Any ideas about the error messages I get?
>
> I have tried it with root versions 5.18 and get the same compile errors.
>
> When I try to compile the latest version of GATE (4.0) I get the
> following errors:
> ...
> ...
> Compiling Gate.cc ...
> Using granular libraries ...
> Linking Gate ...
> ./tmp/Linux-g++/Gate/libGate.a(GateHitFileReader.o): In function
> `GateHitFileReader::PrepareAcquisition()':
> GateHitFileReader.cc:(.text+0xe5a): undefined reference to
> `TFile::TFile(char const*, char const*, char const*, int)'
> ./tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function
> `GateToRoot::RecordBeginOfAcquisition()':
> ....
> reference to `TBufferFile::WriteClones(TClonesArray*, int)'
> /share/apps/GATE/root_v5.20.00/root/lib/libTree.so: undefined
> reference to `TKey::Create(int, TFile*)'
> collect2: ld returned 1 exit status
> make: *** [bin/Linux-g++/Gate] Error 1
> [root at cluster gate_v4.0.0]#
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.healthgrid.org
> http://lists.healthgrid.org/mailman/listinfo/gate-users

What version of gcc are you using?

Peter



More information about the Gate-users mailing list