问题
I cannot install all my project dependencies on Windows using conan. This error occurs each time when I do conan install . --build
:
ERROR: Conflict in libpng/1.6.34@bincrafters/stable
Requirement zlib/1.2.11@conan/stable conflicts with already defined zlib/1.2.11
To change it, override it in your base requirements
My conanfile.txt:
[requires]
boost/1.69.0@conan/stable
sfml/[>=2.5.0]@bincrafters/stable
[options]
sfml:window=True
sfml:graphics=True
sfml:audio=True
sfml:network=True
sfml:shared=True
[generators]
cmake
[imports]
bin, *.dll -> ./bin
lib, *.dylib* -> ./bin
lib, *.lib -> ./bin
Work perfectly on Linux. Someone can see a problem ?
来源:https://stackoverflow.com/questions/60928441/conan-conflict-in-libpng-1-6-34bincrafters-stable-on-windows