Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS and and Android #56

Open
niqt opened this issue Aug 20, 2023 · 1 comment
Open

iOS and and Android #56

niqt opened this issue Aug 20, 2023 · 1 comment

Comments

@niqt
Copy link

niqt commented Aug 20, 2023

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

@niqt
Copy link
Author

niqt commented Aug 24, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant