当我添加LOCAL_ARM_NEON := true
android.mk 时应用程序中止,即使没有任何霓虹灯指令。一些像“-mfpu=neon”这样的词也会导致中止。
我的手机是motorola android2.2
我在Android NDK 中的配置不正确吗?还是我的手机臂不支持霓虹灯指示?我需要在手机上运行霓虹灯指令。
帮帮我!!!谢谢!!!
ps:应用程序.mk:
APP_STL := gnustl_static
APP_ABI := armeabi-v7a
APP_CPPFLAGS += -fexceptions
APP_MODULES := AudioEngine
安卓.mk:
CC = $(BASE_PATH)/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-gcc
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_ARM_NEON := true
LOCAL_MODULE := AudioEngine
LOCAL_SRC_FILES := AudioEngine.cpp Effecter.cpp SoundTouch.cpp TDStretch.cpp RateTransposer.cpp AAFilter.cpp BPMDetect.cpp \
FIFOSampleBuffer.cpp FIRFilter.cpp mmx_optimized.cpp PeakFinder.cpp sse_optimized.cpp cpu_detect_x86.cpp fft.s\
LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog
LOCAL_LDLIBS := -llog
include $(BUILD_SHARED_LIBRARY)