GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » compiling geane,recotask and trackrep
icon8.gif  compiling geane,recotask and trackrep [message #5171] Mon, 08 October 2007 12:52 Go to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
Dear all,
i have just updated my code, and i'm surprised
to see that the geane recotask and trackrep directories
don't compile properly.

who knows what is going on?,

here you are the compile output

[ 95%] Generating GeaneDict.cxx, GeaneDict.h
Scanning dependencies of target Geane
[ 95%] Building CXX object geane/CMakeFiles/Geane.dir/CbmGeane.o
[ 96%] Building CXX object geane/CMakeFiles/Geane.dir/CbmGeanePro.o
/u/asanchez/fairroot_prueba/pandaroot/geane/CbmGeanePro.cxx: In member function
`int CbmGeanePro::FindPCA(int, int, TVector3, TVector3, TVector3, double,
Double_t&, TVector3&, TVector3&, Double_t&, Float_t&)':
/u/asanchez/fairroot_prueba/pandaroot/geane/CbmGeanePro.cxx:479: error: `
SetClose' undeclared (first use this function)
/u/asanchez/fairroot_prueba/pandaroot/geane/CbmGeanePro.cxx:479: error: (Each
undeclared identifier is reported only once for each function it appears
in.)
/u/asanchez/fairroot_prueba/pandaroot/geane/CbmGeanePro.cxx:488: error: `
GetClose' undeclared (first use this function)
make[2]: *** [geane/CMakeFiles/Geane.dir/CbmGeanePro.o] Error 1
make[1]: *** [geane/CMakeFiles/Geane.dir/all] Error 2
make: *** [all] Error 2


[ 95%] Generating trackrepDict.cxx, trackrepDict.h
Scanning dependencies of target trackrep
[ 96%] Building CXX object trackrep/CMakeFiles/trackrep.dir/GeaneTrackRep.o
In file included from /u/asanchez/fairroot_prueba/pandaroot/trackrep/GeaneTrackRep.cxx:21:
/u/asanchez/fairroot_prueba/pandaroot/trackrep/GeaneTrackRep.h:86: error: conflicting
return type specified for `virtual double GeaneTrackRep::getCharge() const'
/u/asanchez/fairroot_prueba/pandaroot/genfit/AbsTrackRep.h:74: error:
overriding `virtual int AbsTrackRep::getCharge() const'
make[2]: *** [trackrep/CMakeFiles/trackrep.dir/GeaneTrackRep.o] Error 1
make[1]: *** [trackrep/CMakeFiles/trackrep.dir/all] Error 2
make: *** [all] Error 2


[ 87%] Generating recotasksDict.cxx, recotasksDict.h
Scanning dependencies of target recotasks
[ 87%] Building CXX object recotasks/CMakeFiles/recotasks.dir/CbmFieldAdaptor.o
[ 87%] Building CXX object recotasks/CMakeFiles/recotasks.dir/demo/DemoRecoHit.o
In file included from /u/asanchez/fairroot_prueba/pandaroot/recotasks/demo/DemoRecoHit.cxx:29:
/u/asanchez/fairroot_prueba/pandaroot/trackrep/GeaneTrackRep.h:86: error: conflicting
return type specified for `virtual double GeaneTrackRep::getCharge() const'
/u/asanchez/fairroot_prueba/pandaroot/genfit/AbsTrackRep.h:74: error:
overriding `virtual int AbsTrackRep::getCharge() const'
make[2]: *** [recotasks/CMakeFiles/recotasks.dir/demo/DemoRecoHit.o] Error 1
make[1]: *** [recotasks/CMakeFiles/recotasks.dir/all] Error 2
make: *** [all] Error 2

cheers
alicia.
Re: compiling geane,recotask and trackrep [message #5172 is a reply to message #5171] Mon, 08 October 2007 13:09 Go to previous messageGo to next message
Sebastian Neubert is currently offline  Sebastian Neubert
Messages: 282
Registered: March 2006
Location: Munich
first-grade participant

From: *e18.physik.tu-muenchen.de
Hi Alicia!

Please make sure to update also the genfit package - this could be the reaseon for the error in trackrep.

For me everything works fine with the latest version.

Cheers! Sebastian.


Sebastian Neubert
Technische Universität München
Department Physik E18
sneubert@e18.physik.tu-muenchen.de
tel: +49-8928912592
Re: compiling geane,recotask and trackrep [message #5173 is a reply to message #5172] Mon, 08 October 2007 13:36 Go to previous messageGo to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
Hi Sebastian,
thanks a lot , now recotask, genfit, tpc, trackbase, trackrep
compile, but i have still problems with geane, should i update
anything else?

[ 95%] Building CXX object geane/CMakeFiles/Geane.dir/CbmGeanePro.o
/u/asanchez/fairroot_prueba/pandaroot/geane/CbmGeanePro.cxx: In member function
`int CbmGeanePro::FindPCA(int, int, TVector3, TVector3, TVector3, double,
Double_t&, TVector3&, TVector3&, Double_t&, Float_t&)':
/u/asanchez/fairroot_prueba/pandaroot/geane/CbmGeanePro.cxx:479: error: `
SetClose' undeclared (first use this function)
/u/asanchez/fairroot_prueba/pandaroot/geane/CbmGeanePro.cxx:479: error: (Each
undeclared identifier is reported only once for each function it appears
in.)
/u/asanchez/fairroot_prueba/pandaroot/geane/CbmGeanePro.cxx:488: error: `
GetClose' undeclared (first use this function)
make[2]: *** [geane/CMakeFiles/Geane.dir/CbmGeanePro.o] Error 1
make[1]: *** [geane/CMakeFiles/Geane.dir/all] Error 2
make: *** [all] Error 2
Re: compiling geane,recotask and trackrep [message #5174 is a reply to message #5171] Mon, 08 October 2007 14:22 Go to previous messageGo to next message
Andrea Fontana is currently offline  Andrea Fontana
Messages: 32
Registered: May 2007
continuous participant
From: *PV.INFN.IT
Hi Alicia,
the reason of the error is due to the use of an old version
of the external packages (in particular of the TGeant3 class
in tracking). The files are correctly updated on the Cern
site but have not yet been included in the external packages
tar file on the cbmroot site. During the last meeting at GSI
Mohammad said that it will be included in the next update of
cbmroot, along with geant4.9, which I hope will happen soon.

Hope this helps,
Andrea
Re: compiling geane,recotask and trackrep [message #5175 is a reply to message #5174] Mon, 08 October 2007 14:39 Go to previous messageGo to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
Hi Andrea
thanks a lot for the comment.

By the way there is already the possibility to
ask for the length of the track in GEANE?

best regrads
Alicia.
Re: compiling geane,recotask and trackrep [message #5176 is a reply to message #5172] Mon, 08 October 2007 14:44 Go to previous messageGo to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
Hi Sebastian,
now i get error mesasages when i try to run runMC.C inside
of /recotask/demo,
it seems that some library is still missing,

lxi011:demo>root runMC.C -l
root [0]
Processing runMC.C...

PSaid instance created... access via gSaid->f()

- RTDB container factory CbmBaseContFact
- RTDB container factory CbmFieldContFact
- RTDB container factory CbmPassiveContFact
- RTDB container factory MvdContFact
- RTDB container factory CbmEmcContFact
- RTDB container factory CbmDrcContFact
- RTDB container factory TpcContFact
dlopen error: /u/asanchez/fairroot_prueba/build/lib/librecotasks.so: undefined symbol: _ZTI13GeaneTrackRep
Load Error: Failed to load Dynamic link library /u/asanchez/fairroot_prueba/build/lib/librecotasks.so
*** Interpreter error recovered ***


Can you tell me what libraries are you using for that,?

thanks
alicia.


Re: compiling geane,recotask and trackrep [message #5177 is a reply to message #5171] Mon, 08 October 2007 15:27 Go to previous messageGo to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
Hi again, i have noticed that
in order to be able to run the runMC.C in
/recotask/demo/

one should add in runMC.C
libtpcrecotask
libgeane
libtrackrep

best regrads
alicia
Re: compiling geane,recotask and trackrep [message #5178 is a reply to message #5171] Mon, 08 October 2007 16:13 Go to previous messageGo to next message
Andrea Fontana is currently offline  Andrea Fontana
Messages: 32
Registered: May 2007
continuous participant
From: *PV.INFN.IT
Hi Alicia,
yes, this possibility is already there. It was always there
for the extrapolation to the PCA, but after your request I have
also added the possibility to get it also when extrapolating
to a volume or to a plane.

This is unfortunately going into the external packages and it is
exactly what the missing function of the previous error is also
doing (SetClose and GetClose).

I will get in touch with Mohammad to coordinate the distribution
of the new external packages as soon as possible: I think that
also Mohammad has an update version.

Hope it will not take too long: I thought this was done already.

Ciao,
Andrea
Re: compiling geane,recotask and trackrep [message #5180 is a reply to message #5178] Mon, 08 October 2007 16:36 Go to previous message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
Ok, thanks Smile

Alicia s.
Previous Topic: Bug under gcc 3.X compiler
Next Topic: ProcessHits() "not visible" while reading root geometry file
Goto Forum:
  


Current Time: Fri Nov 22 07:20:40 CET 2024

Total time taken to generate the page: 0.00755 seconds