GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » compilation error
compilation error [message #19088] Fri, 26 February 2016 14:01 Go to previous message
Aida Galoyan is currently offline  Aida Galoyan
Messages: 79
Registered: May 2007
Location: Dubna
continuous participant
From: *jinr.ru
Hello,

I have error at compilation of PandaRoot.
I try to explain.

Martin Vala, our computer administrator
installed PandaRoot with external
packages at cluster HybriLit at JINR, Dubna.
Everything was O'k.

Today I have tried to install PandaRoot last version (28940)
in my home account at HybriLit.

All comands before make are working normal.
But, when I give
> make
I have following error connected with PndMasterRunAna.cxx:
-------------------------------------------------------
[ 88%] Building CXX object PndTools/master/CMakeFiles/Master.dir/PndMasterRunAna.cxx.o
/nfs/hybrilit.jinr.ru/user/a/agaloyan/panda_Feb16/pandaroot/PndTools/mas ter/PndMasterRunA na.cxx:16:12: error: Б─≤std::coutБ─≥ has not been declared
using std::cout;
^
/nfs/hybrilit.jinr.ru/user/a/agaloyan/panda_Feb16/pandaroot/PndTools/mas ter/PndMasterRunA na.cxx: In member function Б─≤Bool_t PndMasterRunAna::Setup()Б─≥:
/nfs/hybrilit.jinr.ru/user/a/agaloyan/panda_Feb16/pandaroot/PndTools/mas ter/PndMasterRunA na.cxx:34:82: error: no matching function for call to Б─≤FairFileSource::FairFileSource(c onst char*)Б─≥
FairFileSource *fileSource = new FairFileSource(creator.GetSimFileName().data());
^
/nfs/hybrilit.jinr.ru/user/a/agaloyan/panda_Feb16/pandaroot/PndTools/mas ter/PndMasterRunA na.cxx:34:82: note: candidates are:
In file included from /cvmfs/hybrilit.jinr.ru/sw/fairroot/v15.07a_nov15/sl6-gcc48/include /FairRootManager.h:24:0,
from /cvmfs/hybrilit.jinr.ru/sw/fairroot/v15.07a_nov15/sl6-gcc48/include /FairRunAna.h:21,
from /nfs/hybrilit.jinr.ru/user/a/agaloyan/panda_Feb16/pandaroot/PndTool s/master/PndMasterRunAna.h:16,
from /nfs/hybrilit.jinr.ru/user/a/agaloyan/panda_Feb16/pandaroot/PndTool s/master/PndMasterRunAna.cxx:1:
/cvmfs/hybrilit.jinr.ru/sw/fairroot/v15.07a_nov15/sl6-gcc48/include/Fair FileSource.h:96:5 : note: FairFileSource::FairFileSource(const FairFileSource&)
FairFileSource(const FairFileSource&);
^
/cvmfs/hybrilit.jinr.ru/sw/fairroot/v15.07a_nov15/sl6-gcc48/include/Fair FileSource.h:96:5 : note: no known conversion for argument 1 from Б─≤const char*Б─≥ to Б─≤const FairFileS ource&Б─≥
/cvmfs/hybrilit.jinr.ru/sw/fairroot/v15.07a_nov15/sl6-gcc48/include/Fair FileSource.h:33:5 : note: FairFileSource::FairFileSource(const TString*, const char*, UInt_t)
FairFileSource(const TString* RootFileName, const char* Title="InputRootFile", UInt_ t identifier=0);
^
/cvmfs/hybrilit.jinr.ru/sw/fairroot/v15.07a_nov15/sl6-gcc48/include/Fair FileSource.h:33:5 : note: no known conversion for argument 1 from Б─≤const char*Б─≥ to Б─≤const TString*Б ─≥
/cvmfs/hybrilit.jinr.ru/sw/fairroot/v15.07a_nov15/sl6-gcc48/include/Fair FileSource.h:32:5 : note: FairFileSource::FairFileSource(TFile*, const char*, UInt_t)
FairFileSource(TFile *f, const char* Title="InputRootFile", UInt_t identifier=0);
^
/cvmfs/hybrilit.jinr.ru/sw/fairroot/v15.07a_nov15/sl6-gcc48/include/Fair FileSource.h:32:5 : note: no known conversion for argument 1 from Б─≤const char*Б─≥ to Б─≤TFile*Б─≥
/nfs/hybrilit.jinr.ru/user/a/agaloyan/panda_Feb16/pandaroot/PndTools/mas ter/PndMasterRunA na.cxx:55:23: error: Б─≤SetSourceБ─≥ was not declared in this scope
SetSource(fileSource);
^
/nfs/hybrilit.jinr.ru/user/a/agaloyan/panda_Feb16/pandaroot/PndTools/mas ter/PndMasterRunA na.cxx: In member function Б─≤void PndMasterRunAna::Finish()Б─≥:
/nfs/hybrilit.jinr.ru/user/a/agaloyan/panda_Feb16/pandaroot/PndTools/mas ter/PndMasterRunA na.cxx:112:3: error: Б─≤coutБ─≥ was not declared in this scope
cout << endl;
^
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
----------------------------------------------------

What is the reason of the error?
Can somebody help me to remove this error?

Thank you in advance.
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: Sat Oct 23 22:52:22 CEST 2021

Total time taken to generate the page: 0.02514 seconds