No string_view on lxplus

Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided

On lxplus, when compiling codes, we found a problem

/cvmfs/ fatal error: string_view: No such file or directory
 #include <string_view>

We have used

asetup AnalysisBase,21.2.99


lsetup cmake

The codes can compile several months but it cannot run now.

Problem Solved. Thanks.

In case someone else ends up here, ROOT backports string_view in header <ROOT/RStringView.hxx> for C++11 and C++14 builds. It picks it up from the STL for C++17 builds (in which case ROOT/RStringView.hxx simply transitively includes <"string_view>").


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.