Windows平台 交叉编译 Android OpenCV

编译工具

cmake

MinGW-W64

添加到系统环境变量PATH

ant

cmake_gui -> add entry

CMake Error at cmake/android/OpenCVDetectAndroidSDK.cmake:184 (message):
  Android SDK: Can't build Android projects as requested by
  BUILD_ANDROID_PROJECTS=ON variable.

  Use BUILD_ANDROID_PROJECTS=OFF to prepare Android project files without
  building them
Call Stack (most recent call first):
  CMakeLists.txt:645 (include)

BUILD_ANDROID_PROJECTS: ON -> OFF

添加 opencv-contrib

Table of Contents