opencv-mobile icon indicating copy to clipboard operation
opencv-mobile copied to clipboard

iOS and and Android

Open niqt opened this issue 2 years ago • 1 comments

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

niqt avatar Aug 20 '23 07:08 niqt

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 ..`

niqt avatar Aug 24 '23 22:08 niqt