Building OpenCV 2.4 for arm64-v8a or x86_64 (CMake / make)
I tried to compile OpenCV 2.4.11 for arm64-v8a, but there is only one .so
file I got after building in my_build\lib\arm64-v8a
folder: libopencv_info.so
(others are .a
)
What did I do wrong?
It should also have built libopencv_java.so
& libnative_camera_r*.so
files, but it haven't
cmake parameters:
cd opencv\platforms
mkdir build_android_arm
cd build_android_arm
cmake -G "MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE=..\android\android.toolchain.cmake -DANDROID_ABI="arm64-v8a" -DWITH_TBB=ON -DINSTALL_ANDROID_EXAMPLES=ON -DANDROID_NATIVE_API_LEVEL=16 -D WITH_OPENCL=OFF -D WITH_OPENCL_SVM=OFF -D WITH_OPENCLAMDFFT=OFF -D WITH_OPENCLAMDBLAS=OFF ..\..
make
OpenCV 2.4.11 source code: github.com/opencv/opencv/releases/tag/2.4.11