-
Notifications
You must be signed in to change notification settings - Fork 985
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
OpenCV doesn't install #14904
Comments
Hi @deepwilson thanks for your report. It would be good to have a bit more detail, could you please provide:
Thanks very much. |
thanks @memsharded
linux distro (Running WSL2):
compiler, compiler version, architecture: x86_64 |
Thanks, I don't see anything suspicious there... |
@memsharded Great to hear that. Thanks! main.cpp -> written by chatGPT
|
Hi @deepwilson, I think this is related to the issue described here:
Could you please try to add the arguments
Thanks! |
thanks @czoido
OUTPUT:
CMakeLists.txt for reference:
|
There are a couple of things that needs to be fixed in the code:
With those 2 changes I can reproduce the linking error, and I can also fix the linking error with @czoido recommendation for |
Hi @deepwilson - this is currently a known issue as the binaries on Conan Center are built with a version of However, to the best of my knowledge, this only affects static libraries - if you request shared libraries by passing |
@memsharded I get the following error now:
|
Please, try to remove |
@czoido Yes, I tried it without it also. i.e.
|
@czoido I can confirm that the |
We are following up and adding the necessary flags to the dependencies recipes in ConanCenter so they don't run into binary incompatibilities of glibc. |
Environment details
Tried following guide at https://docs.conan.io/2/tutorial/consuming_packages/build_simple_cmake_project.html to install OpenCV.
Following is my CMakeLists.txt:
Howver on
cmake --build .
I get follwing error:Steps to reproduce
conanfile.txt:
conan profile detect --force
The text was updated successfully, but these errors were encountered: