Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1117

build 3.4 static library for android, but get so

$
0
0
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

Viewing all articles
Browse latest Browse all 1117