GSI Helmholtzzentrum für Schwerionenforschung
[FIXED] PndSttCellTrackFinderAnalysisTask compilation issue
Hi, I've just updated the pandaroot trunk and it didn't compile on my machine. I got errors when compiling PndSttCellTrackFinderAnalysisTask.cxx: Quote: /home/steve/pandaroot/PndTools/SttCellTrackFinder/PndSttCellTrackFinderA nalysisTask.cxx: In member function 'void PndSttCellTrackFinderAnalysisTask::DrawFirstRiemannPlots(int)': /home/steve/pandaroot/PndTools/SttCellTrackFinder/PndSttCellTrackFinderA nalysisTask.cxx:558:8: error: 'Itoa' is not a member of 'TString' /home/steve/pandaroot/PndTools/SttCellTrackFinder/PndSttCellTrackFinderA nalysisTask.cxx:625:35: error: 'Itoa' is not a member of 'TString' /home/steve/pandaroot/PndTools/SttCellTrackFinder/PndSttCellTrackFinderA nalysisTask.cxx: In member function 'void PndSttCellTrackFinderAnalysisTask::DrawCombiRiemannPlots(int)': /home/steve/pandaroot/PndTools/SttCellTrackFinder/PndSttCellTrackFinderA nalysisTask.cxx:638:8: error: 'Itoa' is not a member of 'TString' /home/steve/pandaroot/PndTools/SttCellTrackFinder/PndSttCellTrackFinderA nalysisTask.cxx:704:38: error: 'Itoa' is not a member of 'TString' The problem is that I'm using older external packages (and root 5.32) which does not have this Itoa function yet. Could this be rewritten to use string streaming operators instead of TString::Itoa? Best regards, Stefan
Re: PndSttCellTrackFinderAnalysisTask compilation issue
Dear Stefan, wouldn't it be better to upgrade to the newest external packages? If I remember correctly there were also some other problems with the old externals. Cheers, Tobias
Dear Tobias, sure that's an option. I always thought that pandaroot should stay compatible with a large variety of systems, and I virtually extended that compatibility to different external packages . I'll just update to the new external packages then. Thx for the reply. Best regards, Stefan
Ohh, sorry for not closing up the post. Yes it does work fine with the new external packages. Although the installation of the external packages did not work out of the box as described here. https://forum.gsi.de/index.php?t=tree&th=4034&start=0&rid=17 90&S=c3841d2d8885d7b7b277b7929a36967d