Undefined Reference To ‘cv::initModule_nonfree()’ In Android

My development environment is set up as follows: android-ndk-r10d (install path: D:\adt-bundle-windows-x86_64-20140702\android-ndk-r10d\) OpenCV-2.4.10-android-sdk (install path: D:\CODE\OpenCV-2.4.10-android-sdk\), Download link OpenCV-2.4.10 (install path: D:\CODE\OpenCV-2.4.10\), Download link Building the nonfree module We actually only need to copy a few files from OpenCV-2.4.10 source code to OpenCV-2.4.10-android-sdk, namely: Copy the nonfree folder from OpenCV-2.4.10\sources\modules\nonfree\include\opencv2\ to OpenCV-2.4.10-android-sdk\sdk\native\jni\include\opencv2. Create a folder … Read more