使用conanfile.txt和bintray作为repo,使用conan包管理器添加Qt 5.14.2



我需要安装带有https://bintray.com/bincrafters/public-conan/作为唯一的授权存储库,我在以下地址的repo上找到了版本,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 repo:

conan远程添加垃圾箱托盘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

Conan包是小写的,所以您需要在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

最新更新