[Gate-users] GATE and GEANT Install
TienGarry
gjtian at hotmail.com
Fri Dec 19 13:05:30 CET 2008
Thank you, it works well.
Date: Fri, 19 Dec 2008 11:38:37 +0100From: gate.stute at gmail.comTo: gjtian at hotmail.comSubject: Re: Re : [Gate-users] GATE and GEANT InstallCC: dounia84 at aol.com; gate-users at lists.healthgrid.orgHi,I made the modification in the variables.gmk file (that is used by the GNUmakefile of Gate).Just replace the old file by this new one and recompile Gate.(I just replaced the manual ROOT library links by a call of the program root-config with the option --libs).Hope it will work,Simon
2008/12/19 TienGarry <gjtian at hotmail.com>
When I make GATE4.0 I get the link errors:Linking Gate .../home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::ReadArray(double*&)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::SetReadParam(int)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TThread::TThread(char const*, void* (*)(void*), void*, TThread::EPriority)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteArray(float const*, int)'/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `ROOT::Math::GaussIntegrator::GaussIntegrator()'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `typeinfo for TSQLResult'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `vtable for TSQLRow'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::GetLastProcessID(TRefTable*) const'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::GetTRefExecId()'/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `TMath::ErfInverse(double)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteObjectClass(void const*, TClass const*)'/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `TMath::Beta(double, double)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::ReadVersion(unsigned int*, unsigned int*, TClass const*)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteArray(long const*, int)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TThread::Run(void*)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteProcessID(TProcessID*)'/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `ROOT::Math::BrentMinimizer1D::~BrentMinimizer1D()'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteVersionMemberWise(TClass const*, bool)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TKey::Hash() const'/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `gRandom'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `typeinfo for TSQLRow'/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `ROOT::Math::RootFinder::RootFinder(ROOT::Math::RootFinder::EType)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `int TStreamerInfo::ReadBuffer<char**>(TBuffer&, char** const&, int, int, int, int)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::ReadStaticArray(long*)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TKey::Streamer(TBuffer&)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TStreamerInfo::ReadBufferClones(TBuffer&, TClonesArray*, int, int, int)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TMutex::TMutex(bool)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteObject(TObject const*)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TBufferFile::WriteArray(int const*, int)'/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `TMath::BesselK0(double)'/home/gary/GATE4.0/root/lib/libTree.so: undefined reference to `TMessage::Class()'/home/gary/GATE4.0/root/lib/libHist.so: undefined reference to `TMath::StruveH0(double)'collect2: ld returned 1 exit statusmake: *** [bin/Linux-g++/Gate] Error 1I search this error, some got the same errors with me, when he make a program based on ROOT, http://root.cern.ch/phpBB2/viewtopic.php?t=7404&view=next&sid=da48524ef4f7180111d474d40b64e1f8Someone answer the question like this:You need to link against the libraries you use. Call `root-config --libs` instead of -lWhatever in your Makefile. How can I solve it for gate, how to modify gate makefile? Thx.
To: gjtian at hotmail.com; gate.stute at gmail.com
Subject: Re : [Gate-users] GATE and GEANT InstallDate: Thu, 18 Dec 2008 07:58:50 -0500From: dounia84 at aol.com
CC: gate-users at lists.healthgrid.org
Hello,i am having some pb with ecat7 output. Although gate tells me that ecat7 output is enabled i still get :Output module: 'sinogram' >> Job: build a set of 2D sinograms from a PET simulation >> Is enabled ? Yes >> Number of crystals per crystal ring: 0 >> Number of crystal rings: 0 >> Number of radial sinogram bins: 0 >> Filled ? No >> Attached to system: systems/ecat >> Input data: finalCoinc/gate/output/ecat7/enable***** COMMAND NOT FOUND </gate/output/ecat7/enable> ********** Batch is interupted!! *****I don`t get why i have zero crystals...
If you had this problem already please tell me what you did to solve it. It has been a long long time that i am stuck with this!thank you in advance.Dounia Taleb.
使用新一代 Windows Live Messenger 轻松交流和共享! 立刻下载!
_________________________________________________________________
超炫人气榜给您所有偶像的最新资讯和排名,快来支持自己的偶像!
http://cnweb.search.live.com/xrank/results.aspx?q=%e5%91%a8%e6%9d%b0%e4%bc%a6&FORM=MSNH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20081219/b713028a/attachment.htm>
More information about the Gate-users
mailing list