Linux系统下解 决make时error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support \
的方法:
在CMakeLists.txt文件里的上方添加
SET( CMAKE_CXX_FLAGS "-std=c++11 -O3")
可以解决这个问题