Fork me on GitHub

Opened 3 months ago

#1424 new Bug

Delphes Compilation Error

Reported by: nathan1915 Owned by:
Priority: major Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Hi,

I got this problem when I try to install Delphes on MG5 which is in the CMSSW_10_2_6 directory

/cvmfs/cms.cern.ch/slc6_amd64_gcc700/cms/cmssw/CMSSW_10_2_6/external/slc6_amd64_gcc700/bin/../../../../../../../slc6_amd64_gcc700/lcg/root/6.12.07-gnimlf5/include/TString.h:790:68: error: 'Bool_t operator==(const int&, const char*)' must have an argument of class or enumerated type
 inline Bool_t operator==(const std::string_view &s1, const char *s2)
                                                                    ^
/cvmfs/cms.cern.ch/slc6_amd64_gcc700/cms/cmssw/CMSSW_10_2_6/external/slc6_amd64_gcc700/bin/../../../../../../../slc6_amd64_gcc700/lcg/root/6.12.07-gnimlf5/include/TString.h:803:37: error: 'string_view' in namespace 'std' does not name a type
   std::string printValue(const std::string_view* val);
                                     ^~~~~~~~~~~
make: *** [Makefile:2427: tmp/classes/ClassesDict.o] Error 1
Error detected during the compilation. Please check the compilation error and run make manually.

Could you help me fix this problem? Thank you very much

Change History (0)

Note: See TracTickets for help on using tickets.