error: #error This file requires compiler and library support for the ISO C++ 2011 standard.
2017-12-12 10:54
585 查看
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文件里的上方添加
可以解决这个问题
#error This file requires compiler and library support \
的方法:
在CMakeLists.txt文件里的上方添加
SET( CMAKE_CXX_FLAGS "-std=c++11 -O3")
可以解决这个问题
相关文章推荐
- error This file requires compiler and library support for the ISO C++ 2011 standard
- error This file requires compiler and library support for the ISO C++ 2011 standard.
- #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. Th
- #error This file requires compiler and library support for the ISO C++ 2011错误解决办法
- C++中使用array报错 requires compiler and library surpport for the ISO c++ 2011 standard
- C++中使用array报错 requires compiler and library surpport for the ISO c++ 2011 standard
- 编译报#error This file requires compiler and library support......
- 【Android】Error:(32, 2) error: #error ....support for the ISO C++...
- error C4996 The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name
- What Every Computer Programmer Should Know About Windows API, CRT, and the Standard C++ Library
- A LNK2005 error occurs when the CRT library and MFC libraries are linked in the wrong order in Visual C++
- Linux系统下 安装nginx时出现提示的错误:configure: error: You need a C++ compiler for C++ support.
- 使用unordered_map的时候,出现C2338: The C++ Standard doesn't provide a hash for this type.
- #("The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name:")
- linux下安装安装pcre-8.32 configure: error: You need a C++ compiler for C++ support
- Android error:This template requires a build target API version of at least 14, and the current vers
- error C4996: 'getpid': The POSIX name for this item is deprecated. Instead, use the ISO C++ conforma
- checking for C++ compiler default output file name... configure: error: C++
- Linux系统下 安装nginx时出现提示的错误:configure: error: You need a C++ compiler for C++ support.
- linux下安装安装pcre-8.32 configure: error: You need a C++ compiler for C++ support