ROOT Version: Not Provided Platform: CentOS 7 Compiler: Not Provided
Hi. Im trying to build ROOT locally on CentOS 7. When I clone the repo and create a buildroot directory, I run cmake3 ../root to create the Makefile and then make to compile. However, I get this error.
/home/adhingra/Documents/root/core/foundation/inc/ROOT/RConfig.hxx:48:4: error: #error "ROOT requires support for C++14 or higher."
# error "ROOT requires support for C++14 or higher."
Adding the recommended prefix has no effect, Any ideas? Thanks in advace.
I tried updating gcc. It didnt help.
If you want to work on ROOT’s master branch, I would strongly suggest to update to CentOS8 so that the default system compiler will not be ancient and will come with C++14 support. Building ROOT with devtoolset is unsupported and it is known to cause issues. The tip of the master branch should work with gcc>=5.