You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Conanfile depends The opensceneGraph gdal, libtiff, proj and so on.
When using conan install ., an error occurs:
ERROR: zlib/1.2.13; libpng/1.6.38 tried to change zlib/1.2.13 option shared to False. But it was already assigned to True by libtiff/4.3.0.
I checked the Conan configuration for zlib, libpng, and libtiff, and in all configurations, zlib is set to False. Why does this error occur despite that?
How to Check This Issue???
I've been working for this issue 3 hours, But I didn't know how to solve this....
Help Me .Thanks.
Have you read the CONTRIBUTING guide?
I've read the CONTRIBUTING guide
The text was updated successfully, but these errors were encountered:
I deduce from the error that you are still using Conan 1.X
This error is no longer happening in Conan 2, the way options conflicts are managed has been changed in Conan 2, no longer raising conflicts. Conan 2 is already 20 months old, with dozens of releases, and it is the recommended version for production, please try to prioritize updating to Conan 2 as soon as possible. Next week, ConanCenter will stop receiving updates for Conan 1.X see https://blog.conan.io/2024/09/30/Conan-Center-will-stop-receiving-updates-for-Conan-1.html
I think a way to solve this would be to define -o "zlib/*:shared=True" (or to False if you want it static) in your command line, or in your profile file. Please try that and let us know.
What is your question?
My Conanfile depends The opensceneGraph gdal, libtiff, proj and so on.
When using
conan install .
, an error occurs:ERROR: zlib/1.2.13; libpng/1.6.38 tried to change zlib/1.2.13 option shared to False. But it was already assigned to True by libtiff/4.3.0.
I checked the Conan configuration for zlib, libpng, and libtiff, and in all configurations,
zlib
is set toFalse
. Why does this error occur despite that?How to Check This Issue???
I've been working for this issue 3 hours, But I didn't know how to solve this....
Help Me .Thanks.
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: