Android NDK。 'abs'未在此范围内声明

时间:2013-12-19 15:21:02

标签: android c++11 android-ndk

使用gnustl_static构建。得到了:

'abs' was not declared in this scope

当尝试使用stlport构建时,我无法使用c ++ 11方法 这是我的Application.mk:

APP_ABI := armeabi-v7a
APP_STL := gnustl_static
APP_CPPFLAGS += -std=c++11 -w
APP_PLATFORM := android-19
APP_OPTIM := release

Android.mk:

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE    := ModuleName
LOCAL_LDLIBS := -lm -llog -landroid
LOCAL_C_INCLUDES := .......
LOCAL_SRC_FILES += .......
include $(BUILD_SHARED_LIBRARY)

0 个答案:

没有答案