Installation error - Error 1, seems root-related #41
-
|
I'm using Linux Mint 20, checkmate 2.0.37, and a pre-compiled binary of root Version: 6.26/16. Configuring checkmate seems to work fine, but the make exits with and all-recursive Error 1, and the debug lines contain the following text: root/include/TFile.h:328:36: note: ‘std::string_view’ is only available from C++17 onwards. The config log (attached) seems to indicate some problem with the g++ version (9.3.0). Thanks! Rakhi |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
On the advice of colleagues I tried to install root from source, but got exactly the same error message. Please help, I'm at my wit's end! |
Beta Was this translation helpful? Give feedback.
The issue here was not the version of root nor the version of c++, but instead a checkmate problem. Variables were being used in the analysis ATLAS_2010_14293 which were not defined in the .h file. To fix replace the relevant .h file in the folder "checkmate2/tools/analysis/include/analyses/ATLAS_13TeV" with the attached file atlas_2010_14293.txt (make sure to rename it to "atlas_2010_14293.h"), and it should compile with no problems.