nihui/opencv-mobile

iOS and and Android

Opened this issue · 1 comments

niqt commented

Is it possible to have the instructions to build for ios and android in the README? Thanks

niqt commented

I tried in this way for ios
`mkdir build-arm64
cd build-arm64

cmake -DCMAKE_TOOLCHAIN_FILE=../../toolchains/ios.toolchain.cmake -DPLATFORM="OS" -DARCHS="arm64"
-DDEPLOYMENT_TARGET=$IOS_DEPLOYMENT_TARGET -DENABLE_BITCODE=$ENABLE_BITCODE -DENABLE_ARC=$ENABLE_ARC -DENABLE_VISIBILITY=$ENABLE_VISIBILITY
-DCMAKE_C_FLAGS="-frtti -fno-exceptions" -DCMAKE_CXX_FLAGS="-frtti -fno-exceptions"
-DCMAKE_INSTALL_PREFIX=install -DCMAKE_BUILD_TYPE=Release cat ../../opencv4_cmake_options.txt -DBUILD_opencv_world=ON -DOPENCV_DISABLE_FILESYSTEM_SUPPORT=ON ..`