GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » error in compiling pandaroot
error in compiling pandaroot [message #9478] Tue, 29 September 2009 17:20 Go to next message
Garzia Isabella is currently offline  Garzia Isabella
Messages: 11
Registered: January 2009
occasional visitor
From: *fe.infn.it
Hi everybody,

today I updated pandaroot/trunk release with svn (the command "svn
update" in the directory pandaroot/trunk). When I ran my script for
compiling pandaroot, I had this error message:

[ 0%] Generating FairDict.cxx, FairDict.h
Error: cannot open file "TVirtualMagField.h" /home/panda/fairsoft/pandaroot/trunk/base/FairField.h:27:
Error: class,struct,union or type TVirtualMagField not defined /home/panda/fairsoft/pandaroot/trunk/base/FairField.h:30:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing /home/panda/fairsoft/buildPanda/base/FairDict.cxx
/home/panda/fairsoft/buildPanda/base/FairDict.h !!!
Error:/home/panda/fairsoft/tools/root/bin/rootcint: error loading headers...
make[2]: *** [base/FairDict.cxx] Error 1
make[1]: ***[base/CMakeFiles/Base.dir/all] Error 2 make: *** [all] Error 2

Somebody have any idea for solving this problem?

Thanks,

Isabella.
Re: error in compiling pandaroot [message #9479 is a reply to message #9478] Tue, 29 September 2009 17:23 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
which external packages are you using?
Re: error in compiling pandaroot [message #9481 is a reply to message #9479] Tue, 29 September 2009 17:31 Go to previous messageGo to next message
Garzia Isabella is currently offline  Garzia Isabella
Messages: 11
Registered: January 2009
occasional visitor
From: *fe.infn.it
Hi Stefano,
I'm using fairsoft_july08


Re: error in compiling pandaroot [message #9482 is a reply to message #9478] Tue, 29 September 2009 17:33 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
If I remember well, TVirtualMagField.h is a class of the new external packages, not present in july08.

Maybe you should download and install july09, before continuing.
Re: error in compiling pandaroot [message #9483 is a reply to message #9482] Tue, 29 September 2009 17:39 Go to previous messageGo to next message
Garzia Isabella is currently offline  Garzia Isabella
Messages: 11
Registered: January 2009
occasional visitor
From: *fe.infn.it
Ok,
I try to download and install the new external packages!
Thanks Smile
Re: error in compiling pandaroot [message #9485 is a reply to message #9483] Wed, 30 September 2009 12:07 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hi,

I just modify the Field and MC application to be backward compatible with the july08 externals packages, if you use an old externals you will only see the warning about the filed in the simulation and all should run as before.

Please test it and let me know.

Mohammad
Re: error in compiling pandaroot [message #9486 is a reply to message #9485] Wed, 30 September 2009 13:15 Go to previous messageGo to next message
Garzia Isabella is currently offline  Garzia Isabella
Messages: 11
Registered: January 2009
occasional visitor
From: *fe.infn.it
Hi Mohammad,
I try to compile pandaroot with the old external package (jul08) and I had this error:

Scanning dependencies of target Pid
[ 98%] Building CXX object pid/CMakeFiles/Pid.dir/PidData/PndPidCandidate.o
[ 99%] Building CXX object pid/CMakeFiles/Pid.dir/PidData/PndPidProbability.o
[ 99%] Building CXX object pid/CMakeFiles/Pid.dir/PidCorr/PndPidCorrPar.o
[ 99%] Building CXX object pid/CMakeFiles/Pid.dir/PidCorr/PndPidCorrelator.o
[ 99%] Building CXX object pid/CMakeFiles/Pid.dir/PndPidContFact.o
[ 99%] Building CXX object pid/CMakeFiles/Pid.dir/PidClassifier/PndMvaUtil.o
[ 99%] Building CXX object pid/CMakeFiles/Pid.dir/PidClassifier/PndMvaDataSet.o
In file included from /home/panda/fairsoft/pandaroot/trunk/pid/PidClassifier/PndMvaDataSet.cpp :11:
/home/panda/fairsoft/pandaroot/trunk/pid/PidClassifier/PndMvaDataSet.h:2 2:26: error: TMVA/PDEFoam.h: No such file or directory
make[2]: *** [pid/CMakeFiles/Pid.dir/PidClassifier/PndMvaDataSet.o] Error 1
make[1]: *** [pid/CMakeFiles/Pid.dir/all] Error 2
make: *** [all] Error 2

What do you think?

Isabella.
Re: error in compiling pandaroot [message #9487 is a reply to message #9486] Wed, 30 September 2009 14:38 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hi,

The TMVA/PDEFoam.h is a new file (class) in root, it is not available in root 5.20, So I am not sure what to do here somebody from the PID people should take a look to this!

So either you switch the PID package off (if you do not need it!) or you have to go to the new packages.

Maybe Stefano could say something about this?

regards

Mohammad
Re: error in compiling pandaroot [message #9488 is a reply to message #9487] Wed, 30 September 2009 14:45 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
considering that we have the new external packages since almost three months, and that almost everybody is using them, I think the class will remain there.
I would suggest to go to the new external packages.
Previous Topic: [Release] Analysis: Rho & PidCandidate
Next Topic: ParamFirst vs. ParamLast
Goto Forum:
  


Current Time: Tue Apr 16 06:11:50 CEST 2024

Total time taken to generate the page: 0.00962 seconds