0
編輯:我想鏈接prebuild庫,但我不知道如何從obj ...調用此fftw3.libs文件夾,爲每個指令集:我必須使用如果condtiiton每一個?鏈接預編譯庫爲每個指令集NDK
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := fftw3_mod
LOCAL_SRC_FILES:= libfftw3_mod.a
include $(PREBUILT_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := com_jp_algi_CoreC
LOCAL_SRC_FILES := After.cpp com_jp_algi_CoreC.cpp FFTReal.cpp
LOCAL_C_INCLUDES := /FileBroswer/jni/Eigen
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
LOCAL_CPPFLAGS := -mfpu=neon -mfloat-abi=softfp
LOCAL_ARM_NEON := true
endif
include $(BUILD_SHARED_LIBRARY)
LOCAL_LDLIBS + = -L $(LOCAL_PATH)/庫/ $(TARGET_ARCH_ABI)/libfftw3_mod.aI使用nd說:預建庫的LOCAL_SRC_FILES應該只包含一個項目 – user3042563
LOCAL_LDLIBS來自哪裏? –
檢查jni/jni/libs/armeabi/libfftw3_mod.a是否存在或其路徑是否正確 – user3042563