Home | News | Documentation | Download

How to change -std=c++11 to -std=c++11 in root under lxplus.cern.ch

Please read tips for efficient and successful posting and posting code

ROOT Version: ROOT 6.22/00
Platform: lxplus.cern.ch
Compiler: linuxx8664gcc

i found that my code required C++14 extension
but when i run command root-config --cflags i got -pthread -std=c++11 -m64 -I/usr/include/root
so i wan to ask help to change the version

that’s the C++ standard ROOT was compiled with. You will need to find/install a ROOT version that was compiled with C++14. On LXPLUS there is for instance /cvmfs/sft.cern.ch/lcg/views/LCG_98python3/x86_64-centos7-gcc10-opt/setup.sh.


1 Like

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