https://github.com/techrisin/patch-file-for-opency-in-python-for-android-and-buildozer
https://github.com/techrisin/patch-file-for-opency-in-python-for-android-and-buildozer
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/techrisin/patch-file-for-opency-in-python-for-android-and-buildozer
- Owner: techrisin
- License: mit
- Created: 2024-05-14T01:43:12.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-15T03:01:53.000Z (about 2 years ago)
- Last Synced: 2025-01-13T21:08:20.023Z (over 1 year ago)
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
When you build android app with python for android p4a or buildozer with latest opencv, you may get the error
patching file cmake/OpenCVDetectPython.cmake
Hunk #1 FAILED at 175.
Hunk #2 FAILED at 244.
2 out of 2 hunks FAILED
-- saving rejects to file cmake/OpenCVDetectPython.cmake.rej
patching file modules/python/CMakeLists.txt
This can be resolvd by copying the patch file to the opencv recipe folder
Full explanation and reason behind this error is explained in [https://techris.in/python/how-to-solve-hunks-failed-saving-rejects-to-file.html](https://techris.in/python/how-to-solve-hunks-failed-saving-rejects-to-file.html)