[Gate-users] the problem of gate installation
Isabel Catarina Duarte
catarinaduarte86 at hotmail.com
Mon Mar 30 10:22:58 CEST 2009
Hi,
I had the same problem and did this:
In "variables.gmk", make the following changes.
ifdef G4ANALYSIS_USE_ROOT
CPPFLAGS += -DG4ANALYSIS_USE_ROOT -D_REENTRANT -I$(ROOTSYS)/include
ifdef G4ANALYSIS_USE_ROOT_PLOTTER
CPPFLAGS += -DG4ANALYSIS_USE_ROOT_PLOTTER
endif
EXTRALIBS += `root-config --libs`
endif
It works with me..
Catarina Duarte
Date: Mon, 30 Mar 2009 11:11:13 +0800
From: icecreamdbb at 126.com
To: gate-users at lists.healthgrid.org
Subject: [Gate-users] the problem of gate installation
Hi, all Gate users !
Now ,I have installed Root _5.23.02 , clhep-2.0.3.2 and Geant4.9.1.p03 successfully. But when I install the Gate_v4.00 ,some problems appeared .
When I export the command 'make' ,after a few minutes , it appears some errors like,
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()':
GateToRoot.cc:(.text+0x1e64): undefined reference to `TFile::TFile(char const*, char const*, char const*, int)'
GateToRoot.cc:(.text+0x20df): undefined reference to `TFile::TFile(char const*, char const*, char const*, int)'
./tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::RecordVoxels(GateVGeometryVoxelStore*)':
GateToRoot.cc:(.text+0x38f3): undefined reference to `TFile::TFile(char const*, char const*, char const*, int)'
/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::ReadArray(double*&)'
/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::SetReadParam(int)'
/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TThread::TThread(char const*, void* (*)(void*), void*, TThread::EPriority)'
/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::WriteArray(float const*, int)'
/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `ROOT::Math::GaussIntegrator::GaussIntegrator()'
/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `typeinfo for TSQLResult'
/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `ROOT::Fit::FitUtil::EvaluateLogLGradient(ROOT::Math::IParametricFunctionMultiDim const&, ROOT::Fit::UnBinData const&, double const*, double*, unsigned int&)'
/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `vtable for TSQLRow'
/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::GetLastProcessID(TRefTable*) const'
/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::GetTRefExecId()'
/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `TMath::ErfInverse(double)'
/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::WriteObjectClass(void const*, TClass const*)'
/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `TMath::Beta(double, double)'
/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::ReadVersion(unsigned int*, unsigned int*, TClass const*)'
/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::PushDataCache(TVirtualArray*)'
/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::WriteArray(long const*, int)'
/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TThread::Run(void*)'
/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `ROOT::Fit::DataRange::DataRange(double, double)'
/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `ROOT::Fit::FitConfig::CreateMinimizer()'
/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::WriteProcessID(TProcessID*)'
/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `ROOT::Math::MinimizerOptions::DefaultErrorDef()'
/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `ROOT::Math::BrentMinimizer1D::~BrentMinimizer1D()'
/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TBufferFile::WriteVersionMemberWise(TClass const*, bool)'
/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `ROOT::Fit::BinData::Add(double const*, double, double const*, double)'
/home/daibinbin/root-df/root/lib/libTree.so: undefined reference to `TKey::Hash() const'
/home/daibinbin/root-df/root/lib/libHist.so: undefined reference to `gRandom'
To see the details ,please open the attachment .
wait for your answers . Thank you very much!
网易邮箱,中国第一大电子邮件服务商
_________________________________________________________________
Descubra todas as formas novas de se manter em contacto com amigos e familiares.
http://www.microsoft.com/windows/windowslive/default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20090330/d32276a0/attachment.htm>
More information about the Gate-users
mailing list