GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » compilation error
Re: compilation error [message #19111 is a reply to message #19088] Wed, 02 March 2016 10:54 Go to previous messageGo to previous message
Aida Galoyan is currently offline  Aida Galoyan
Messages: 79
Registered: May 2007
Location: Dubna
continuous participant
From: *jinr.ru
Hello Stefano,

after your e-mail, I updated pandaroot,
but I obtained at the compilation the same error (which I found before) in the file
PndMasterRunAna.cxx, connected with line:
> FairFileSource *fileSource = new FairFileSource(creator.GetSimFileName().data());

When I replaced this line into the line:

>FairFileSource *fileSource = new FairFileSource(new TString(creator.GetSimFileName().data()));

this error disappeared.

But after this, I have following error on the line

>SetSource(fileSource);

-------------------------------------------------------
/nfs/hybrilit.jinr.ru/user/a/agaloyan/panda_Feb16/pandaroot/PndTools/mas ter/PndMasterRunAna.cxx: In member function 'Bool_t PndMasterRunAna::Setup()':
/nfs/hybrilit.jinr.ru/user/a/agaloyan/panda_Feb16/pandaroot/PndTools/mas ter/PndMasterRunAna.cxx:57:23: error: 'SetSource' was not declared in this scope
SetSource(fileSource);
^
make[2]: *** [PndTools/master/CMakeFiles/Master.dir/PndMasterRunAna.cxx.o] Error 1
make[1]: *** [PndTools/master/CMakeFiles/Master.dir/all] Error 2
make: *** [all] Error 2
---------------------------------------------------------

When I commited out the line

>SetSource(fileSource);

compilation of pandaroot is o'k.

I don't now,
>SetSource(fileSource);
is needed or not?

Best regards,
Aida

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [FIXED] External package installation problem
Next Topic: [FIXED] problems in installing a pandaroot release (usual problems)
Goto Forum:
  


Current Time: Fri Nov 22 04:59:28 CET 2024

Total time taken to generate the page: 0.00638 seconds