Android NDK错误std -std = gnu ++ 11

时间:2015-12-09 09:26:31

标签: android eclipse android-ndk

当我编译我的Android ndk项目时,我有这个错误:

C:/Users/User/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO
C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

我目前的android ndk版本是:android-r9 我的问题是:

为什么我收到此错误?

我尝试在Android studio和Eclipse中编译时遇到同样的错误。

由于

0 个答案:

没有答案