Conan conflict in libpng/1.6.34@bincrafters/stable on Windows

戏子无情 提交于 2020-05-17 08:52:05

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!