Last active
March 13, 2016 05:16
-
-
Save beta/494041c0907610882775 to your computer and use it in GitHub Desktop.
Codes for blog "Using Native OpenCV Code in Android Projects"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOCAL_PATH := $(call my-dir) | |
include $(CLEAR_VARS) | |
OPENCV_INSTALL_MODULES:=on | |
OPENCV_CAMERA_MODULES:=on | |
OPENCV_LIB_TYPE := STATIC | |
include $(LOCAL_PATH)/OpenCV.mk | |
LOCAL_MODULE := CvExample | |
LOCAL_SRC_FILES := com_example_yourapp_CvUtil.cpp cv.cpp | |
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include | |
LOCAL_LDLIBS += -lm -llog | |
include $(BUILD_SHARED_LIBRARY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APP_STL := gnustl_static | |
APP_CPPFLAGS := -frtti -fexceptions | |
APP_ABI := all | |
APP_PLATFORM := android-15 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment