1 | initial version |
I found the solution, I needed move the line include $(CLEAR_VARS)
before the LOCAL_CFLAGS
, here is modified Android.mk
:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_CPPFLAGS := -D_DEBUG
LOCAL_CFLAGS := -D_DEBUG
OPENCV_LIB_TYPE:=STATIC
include d:\OpenCV-2.4.11-android-sdk\sdk\native\jni\OpenCV.mk
LOCAL_MODULE := recognizer
LOCAL_SRC_FILES := /* file list */
LOCAL_LDLIBS += -llog
include $(BUILD_SHARED_LIBRARY)
2 | No.2 Revision |
I found the solution, I needed to move the line include $(CLEAR_VARS)
before the LOCAL_CFLAGS
, line, here is modified Android.mk
:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_CPPFLAGS := -D_DEBUG
LOCAL_CFLAGS := -D_DEBUG
OPENCV_LIB_TYPE:=STATIC
include d:\OpenCV-2.4.11-android-sdk\sdk\native\jni\OpenCV.mk
LOCAL_MODULE := recognizer
LOCAL_SRC_FILES := /* file list */
LOCAL_LDLIBS += -llog
include $(BUILD_SHARED_LIBRARY)