Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, this approach works on Windows but not on Linux...

I suggest the following alternative option:
Open the Android.mk of the project that uses initDebug() and add two lines between "include $(CLEAR_VARS)" and "include ../../sdk/native/jni/OpenCV.mk":

include $(CLEAR_VARS)
OPENCV_CAMERA_MODULES:=on
OPENCV_INSTALL_MODULES:=on
include ../../sdk/native/jni/OpenCV.mk