Ask Your Question

Revision history [back]

how to compile OpenCV4Android on Ubuntu Eclipse with NDK

My platform: 1) Ubuntu 12.04 X86_64 2) eclipse-cpp-luna-SR2-linux-gtk-x86_64.tar.gz 3) cdt-8.6.0.zip 4) android-sdk_r24.4.1-linux.tgz 5) android-ndk-r10e-linux-x86_64.bin 6) ADT-23.0.6.zip 7) OpenCV-3.1.0-android-sdk.zip

I followed the steps on OpenCV official website to import OpenCV to Eclipse on Ubuntu: General--->Existing Projects into Workspace--->press Next button--->choose OpenCV-android-sdk/sdk fodler

My questions are: After OpenCV310 is imported to Eclipse, how to build OpenCV4Android.so for Android application? On OpenCV official website, there is no docs about how to compile OpenCV library for android application.