GSI Helmholtzzentrum für Schwerionenforschung
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.
Hi, which external packages are you using?
Hi Stefano, I'm using fairsoft_july08
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.
Ok, I try to download and install the new external packages! Thanks
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
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.
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
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.