-
-
Notifications
You must be signed in to change notification settings - Fork 171
Compilation fails for Ubuntu 22.04 for static OpenCV build #677
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
Comments
This particular error message indicates that you most probably don't have static libs for |
Thank you for your response.
|
Update managed to build it by installing the respective packages. Thanks again for the first response it did help :) |
Hey,
I’m trying to compile OpenCV from source. I used the following GitHub Actions workflow as a reference to adapt my build setup:
https://github.com/spoorn/media-to-ascii/blob/a01017fbb3dc883a89b0a1aff237c69b072542b2/.github/workflows/build.yml
My end goal is to run a Rust application that uses opencv-rust. However, I don’t have sudo access on the server, so I intended to build everything from source. That led to a chain of other dependencies also needing to be compiled manually.
To work around this, I switched to creating a Docker container where I could compile the software (with static build) more freely and then transfer the binaries to the server. Unfortunately, the build failed within the Docker container as well, even though I followed a similar approach and used the same source build method from the link above.
os: Ubuntu 22.04
At the moment, I'm encountering the following error:
Here's a short version :
Here's the whole log from running cargo build -vv
out.log
Any hints on what might be going wrong or what could be updated would be greatly appreciated!
The text was updated successfully, but these errors were encountered: