Alex, Can you check that deal.II pick up the right compiler? It should be printed on your screen. You don't need to specify DEAL_II_CXX_VERSION_FLAG when using gcc.
Best, Bruno On Friday, May 21, 2021 at 1:03:13 PM UTC-4 alexanderc...@gmail.com wrote: > Hello, > > I am trying to compile deal.II, version 9.2, on CentOS 8.3.2011 (the last > version). I have gcc 9.3.0, which is relatively recent. However, when I run > cmake, I end up with the following message: > > The current combination of compiler and C++ version flag is missing some > features of the C++11 version of the language necessary for compiling > deal.II. Please ensure that the CMake variable DEAL_II_CXX_VERSION_FLAG > is > set to the correct flag to enable C++11 support; if it is already set and > you still see this message then you will need to upgrade your compiler. > > I don't really see how this can be, as this version of the compiler fully > supports C++11. I also tried setting the flag DEAL_II_CXX_VERSION_FLAG, but > using valid standard specifiers just results in errors like "The supplied > flag "c++11" was not recognized by the compiler." To be clear, I ran > > cmake .. -DDEAL_II_CXX_VERSION_FLAG=c++11 > > The version of cmake is 3.11.4. > > Any thoughts would be greatly appreciated. > > Alex > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/4f164f3d-d9bf-4c57-8333-9e1bc968052an%40googlegroups.com.