-
Notifications
You must be signed in to change notification settings - Fork 870
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
Compile or Crosscompile opencv-python for armv7 #793
Comments
OpenCV is written in C++ and uses CMake for project configuration. Python bindings utilize Python API for native modules and are generated as C++ code too. To get OpenCV on your system you need to install CMake tool first with |
I've installed cmake with The failure comes from a failed test:
|
Hello @Corallo. OpenCV |
In this way installing cmake with apt-get will be enough? I have tried to remove it from pyproject.toml, but doing so the build fails with a less clear error:
Is this how the pyproject.toml should look without cmake?
|
M.b. related: #820 |
In case you need prebuilt opencv-python for raspberry pi: https://www.piwheels.org/project/opencv-python/ |
@sergregory Thank you, but I need to build the wheels by myself, because I need to apply a small patch to opencv before building, to add an extra video-source api. |
Expected behaviour
I am trying to follow the instructions to build wheels for an armv7 device.
Actual behaviour
The build fails at the stage of building wheels for cmake
Do you have any suggestions on how to build wheels for armv7?
Steps to reproduce
Issue submission checklist
[x ] This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)
[x ] I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)
[x ] The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")
I'm using the latest version of
opencv-python
The text was updated successfully, but these errors were encountered: