-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Version Conflict #16935
Comments
I met the same problem. If I remember correctly, when I use conan 1.x, I can use "zlib/1.2.13" in conanfile.txt to force override the version. But I didn't find out how to do this with conanfile.txt in conan 2.x. |
You can't in a conanfile.txt, only in conanfile.py: conan-io/conan#13201 (comment) |
Thanks, I'll take a look at how to use a conanfile.py. Hope it's as easy as conanfile.txt. :) |
I tried this way to solve my problem |
What is your question?
confile.txt:
[requires]
eigen/3.4.0
openssl/1.1.1t
zlib/1.2.12
sqlite3/3.36.0
qt/5.15.5
gdal/3.1.0
[generators]
cmake_find_package
[options]
qt*:shared=True
and showed error
======== Computing dependency graph ========
Graph root
conanfile.txt: D:\CodeBase\pipeline\RSPGUITools-master\cmake-build-debug\conanfile.txt
Requirements
eigen/3.4.0#2e192482a8acff96fe34766adca2b24c - Cache
openssl/1.1.1t#7d9fc949345908e1b8609d9d9f528a08 - Cache
qt/5.15.5#0c219a005daa86ec92bed9694374e6f2 - Cache
sqlite3/3.36.0#a28e9cdc62d449874c25fa05744c9c95 - Cache
zlib/1.2.12#b1fd071d8a2234a488b3ff74a3526f81 - Cache
Build requirements
nasm/2.15.05#799d63b1672a337584b09635b0f22fc1 - Cache
strawberryperl/5.32.1.1#8f83d05a60363a422f9033e52d106b47 - Cache
ERROR: Version conflict: qt/5.15.5->zlib/1.2.13, None->zlib/1.2.12.
The text was updated successfully, but these errors were encountered: