Compilation fails on lxplus due to c++11 constructs

Compilation of symengine (https://github.com/symengine/symengine) in local folder on LXPLUS fails with errors…

CMake Error at CMakeLists.txt:48 (message): Compiler does not support C++11 constructs.
cc1plus: error: unrecognized command line option “-std=c++11”

I’m using gcc 4.4.7 located in /usr/bin.

Use of “-Dcxx11=ON” as explained in C++11 support does not help.

Sorry, but how is this related to ROOT?

You need gcc 4.8.x or newer.

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