[Gate-users] Problem link gate_v5.0.0

Davi Ezequiel François davifrancois at hotmail.com
Thu Jul 23 23:13:49 CEST 2009


Dear Simon,

You are right, I have a problem in GateSteppingAction.cc when compile gate_v5.0.0.

Compiling GateSteppingAction.cc ...
src/GateSteppingAction.cc: In member function âG4int GateSteppingAction::SeekNewFile(G4bool)â:
src/GateSteppingAction.cc:123: error: incomplete type âGateOutputMgrâ used in nested name specifier
src/GateSteppingAction.cc: In member function âvirtual void GateSteppingAction::UserSteppingAction(const G4Step*)â:
src/GateSteppingAction.cc:327: error: incomplete type âGateOutputMgrâ used in nested name specifier
gmake[1]: *** [../../tmp/Linux-g++/Gate/GateSteppingAction.o] Error 1
source/mandatory_G4_classes finished


What can I do to solve my problem?


Davi Ezequiel François
 
NIMed - Núcleo de Pesquisas em Imagens Médicas
Pontifícia Universidade Católica do Rio Grande do Sul
Av. Ipiranga 6681 Prédio 96A - sala 220 - Porto Alegre - RS - Brasil CEP 90619-900 - Fone: (55) (51) 3320.3682 R. 7813
http://www.pucrs.br/fisica/pesquisas/nimed/index.htm
http://www.pucrs.br/




Date: Thu, 23 Jul 2009 22:40:09 +0200
Subject: Re: [Gate-users] Problem link gate_v5.0.0
From: gate.stute at gmail.com
To: davifrancois at hotmail.com
CC: gate-users at lists.healthgrid.org

Hi,

Did the file GateSteppingAction.cc really successfully compile ? It seems that it not the case.
If an error occured during the compilation of this file, the problem will be easy to solve, but else it won't !


Cheers,
Simon

On Thu, Jul 23, 2009 at 10:25 PM, Davi Ezequiel François <davifrancois at hotmail.com> wrote:








Hi Gate
users,




 I am trying
to install gate_v5.0.0.tar.gz on a Fedora 11 with:

- clhep-2.0.4.2.tgz;

- geant4.9.2.p01.tar.gz;
 - root_v5.24.00.source.tar.gz;
- lmf_v3.0.tar.gz;

- ecat.tar.gz.
But I have a problem at linking Gate, see:
source/management finished

Creating/replacing object files in /usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a ...
ar: creating /usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a
Compiling Gate.cc ...
Using granular libraries ...

Linking Gate ...
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/exe/Gate.o: In function `main':
Gate.cc:(.text+0x1066): undefined reference to `vtable for GateTrackingAction'
Gate.cc:(.text+0x10b8): undefined reference to `GateSteppingAction::GateSteppingAction()'

/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateEventAction.o): In function `GateEventAction::EndOfEventAction(G4Event const*)':
GateEventAction.cc:(.text+0x39e): undefined reference to `GateSteppingAction::GetMode()'

/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateEventAction.o): In function `GateEventAction::BeginOfEventAction(G4Event const*)':
GateEventAction.cc:(.text+0x273): undefined reference to `GateSteppingAction::GetMode()'

/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateSourceMgr.o): In function `GateSourceMgr::PrepareNextEvent(G4Event*)':
GateSourceMgr.cc:(.text+0x2d28): undefined reference to `GateSteppingAction::GetMode()'

/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateSource.o): In function `GateSource::GeneratePrimaries(G4Event*)':
GateSource.cc:(.text+0x14c8): undefined reference to `GateSteppingAction::GetMode()'

GateSource.cc:(.text+0x27d8): undefined reference to `GateSteppingAction::SeekNewFile(bool)'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::RecordEndOfAcquisition()':

GateToRoot.cc:(.text+0x15b7): undefined reference to `GateSteppingAction::GetMode()'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::GetCurrentTracksData()':

GateToRoot.cc:(.text+0x2d36): undefined reference to `GateSteppingAction::SeekNewFile(bool)'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::RecordEndOfEvent(G4Event const*)':

GateToRoot.cc:(.text+0x4338): undefined reference to `GateSteppingAction::GetMode()'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::RecordBeginOfEvent(G4Event const*)':

GateToRoot.cc:(.text+0x4e23): undefined reference to `GateSteppingAction::GetMode()'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateToRoot.o): In function `GateToRoot::RecordBeginOfAcquisition()':

GateToRoot.cc:(.text+0xc735): undefined reference to `GateSteppingAction::GetMode()'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateAnalysis.o): In function `GateAnalysis::RecordEndOfEvent(G4Event const*)':

GateAnalysis.cc:(.text+0x1bd9): undefined reference to `GateSteppingAction::GetMode()'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateGeneralParticleSource.o): In function `GateGeneralParticleSource::GeneratePrimaryVertex(G4Event*)':

GateGeneralParticleSource.cc:(.text+0x115e2): undefined reference to `GateSteppingAction::GetMode()'
/usr/local/geant/gate_v5.0.0/tmp/Linux-g++/Gate/libGate.a(GateTrajectoryNavigator.o):GateTrajectoryNavigator.cc:(.text+0xa28): more undefined references to `GateSteppingAction::GetMode()' follow

collect2: ld returned 1 exit status
gmake: *** [/usr/local/geant/gate_v5.0.0/bin/Linux-g++/Gate] Error 1








I checked
my environment settings and are ok, see.
export G4INSTALL=/usr/local/geant/geant4.9.2.p01
export G4WORKDIR=/usr/local/geant/gate_v5.0.0
export ROOTSYS=/usr/local/geant/root
export PATH=$ROOTSYS/bin:$PATH

export LMF_HOME=/usr/local/geant/lmf_v3.0
export ECAT7_HOME=/usr/local/geant/ecat
export G4VERSION=9.2
export GATEHOME=/usr/local/geant/gate_v5.0.0
export LD_LIBRARY_PATH=/usr/local/lib:$ROOTSYS/lib:$export LD_LIBRARY_PATH


Can anyone
help or know what’s happening?


Thanks,

Davi Ezequiel François
 
NIMed - Núcleo de Pesquisas em Imagens Médicas
Pontifícia Universidade Católica do Rio Grande do Sul
Av. Ipiranga 6681 Prédio 96A - sala 220 - Porto Alegre - RS - Brasil CEP 90619-900 - Fone: (55) (51) 3320.3682 R. 7813

http://www.pucrs.br/fisica/pesquisas/nimed/index.htm
http://www.pucrs.br/




Instale o novo Internet Explorer 8 otimizado para o MSN. Download aqui

_______________________________________________

Gate-users mailing list

Gate-users at lists.healthgrid.org

http://lists.healthgrid.org/mailman/listinfo/gate-users




_________________________________________________________________
Com o Windows Live, você pode organizar, editar e compartilhar suas fotos.
http://www.microsoft.com/brasil/windows/windowslive/products/photo-gallery-edit.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20090723/6b406de6/attachment.htm>


More information about the Gate-users mailing list