微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

使用conanfile.txt和bintray作为回购协议,使用柯南软件包管理器添加Qt 5.14.2

如何解决使用conanfile.txt和bintray作为回购协议,使用柯南软件包管理器添加Qt 5.14.2

我需要使用https://bintray.com/bincrafters/public-conan/安装Qt版本5.14.2 作为唯一的授权存储库,我在以下地址https://bintray.com/bincrafters/public-conan/qt%3Abincrafters/5.14.2%3Astable

的仓库中找到了该版本

这是我的conanfile.txt:

[requires]
Qt/5.14.2@bincrafters/stable
portaudio/v190600.20161030@bincrafters/stable
opus/1.3.1@bincrafters/stable

[generators]
cmake

我还使用以下命令添加了Bintray回购协议:

柯南远程添加Bintray https://api.bintray.com/conan/bincrafters/public-conan

但是当我柯南安装时,找不到该软件包:

Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++
compiler.version=10
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

Qt/5.14.2@bincrafters/stable: Not found in local cache,looking in remotes...
Qt/5.14.2@bincrafters/stable: Trying with 'conan-center'...
Qt/5.14.2@bincrafters/stable: Trying with 'bintray'...
ERROR: Unable to find 'Qt/5.14.2@bincrafters/stable' in remotes

解决方法

柯南软件包使用小写,因此您需要在conanfile.txt文件中写入qt/5.14.2@bincrafters/stable

当我尝试按照您的提示安装软件包时,我得到了:

ERROR: Requested 'Qt/5.14.2@bincrafters/stable' but found case incompatible 'qt'
Case insensitive filesystem can't manage this

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。