Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

build 3.4 static library for android, but get so

I git clone the 3.4 branch to local, create a build_arm_android folder, and use the command cmake -DCMAKE_TOOLCHAIN_FILE=$NDK/build/cmake/android.toolchain.cmake -DDBUILD_SHARED_LIBS=OFF -DBUILD_ZLIB=ON -DCMAKE_BUILD_TYPE=RELEASE -DANDROID_ABI=armeabi-v7a .. then make to build.

But the generate file is still libopencv_java4.so, how can I build static library? the cmake order's output is https://gist.github.com/huhuang03/c0a8240f1d109caa90675c0c072c11d6