2017-11-27 5 views
2

実行した:conan install Boost/[email protected]/stable、それは失敗します。
出力:他のパッケージを試すConan、C++パッケージマネージャーは、ブーストのために動作しません。

C:\temp>conan install Boost/[email protected]/stable 
Boost/[email protected]/stable: Not found in local cache, looking in remotes... 
Boost/[email protected]/stable: Trying with 'bintray'... 
Boost/[email protected]/stable: Trying with 'conan.io'... 
ERROR: Unable to find 'Boost/[email protected]/stable' in remotes 

は、作品:

C:\temp>conan install fmt/[email protected]/stable 
fmt/[email protected]/stable: Not found in local cache, looking in remotes... 
fmt/[email protected]/stable: Trying with 'bintray'... 
fmt/[email protected]/stable: Trying with 'conan.io'... 
Downloading conanmanifest.txt 
[==================================================] 121B/121B 
Downloading conanfile.py 
[==================================================] 1.8KB/1.8KB 
fmt/[email protected]/stable: Installing package 
Requirements 
    fmt/[email protected]/stable from conan.io 
Packages 
    fmt/4.0.[email protected]/stable:63da998e3642b50bee33f4449826b2d623661505 

fmt/[email protected]/stable: Retrieving package 63da998e3642b50bee33f4449826b2d623661505 
fmt/[email protected]/stable: Looking for package 63da998e3642b50bee33f4449826b2d623661505 in remote 'conan.io' 
Downloading conanmanifest.txt 
[==================================================] 938B/938B 
Downloading conaninfo.txt 
[==================================================] 491B/491B 
Downloading conan_package.tgz 
[==================================================] 159.8KB/159.8KB 
fmt/[email protected]/stable: Package installed 63da998e3642b50bee33f4449826b2d623661505 

パッケージが見つからなかった理由を任意のアイデアを? どのようにデバッグするのですか?

+0

彼らのウェブサイトによると、Boostはこのマネージャーが提供するパッケージの1つではありません。 – UnholySheep

+1

Hmmm。 @UnholySheepこれからBoostは人生で最高のものではないと思いますか? – user4581301

+0

リンクを追加できますか? ここには[レシピ](https://bintray.com/conan-community/conan/Boost:conan/1.64.0:stable) – ShaulF

答えて

5

Conanは分散型のパッケージマネージャ(gitのようなスタイル)なので、多くのリモコンを持つことができます。デフォルトでは、2つのリモコンで設定されています:

  • コナン・トランジット:別の作家から、多くの異なるブーストパッケージが含まれている古いconan.ioリポジトリの読み取り専用コピーです。品質は可変であるため、パッケージによっては特定のOSでのみ動作するものや、一部の設定で失敗するものがあります。

  • conan-center:これはモデレートされた/レビューされたリポジトリであり、パッケージ作成者はパッケージをコミュニティと共有するための包含リクエストを提出できます。

は、これまでのところ、コナン・トランジットは、いくつかのブースト/ 1.64のパッケージが含まれているので、でそれを確認することができます。あなたはこれらのリポジトリに存在しないインストールしようとしているパッケージを見ることができるように

$ conan search Boost* -r=conan-transit 
$ conan search Boost* -r=conan-center 

上記のように、コナンは分散型であるため、異なるリモコンを使用できます。たとえば、「bincrafters」コミュニティはして追加することができbintrayレポを持っています

$ conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan 
$ conan search Boost* -r=bincrafters 

あなたは彼らが、ブーストのモジュール化バージョンを作成しているので、彼らは、ブースト/ 1.64多数のパッケージを持って表示されますすべてのライブラリが別のパッケージに入っているので、必要なものだけがインストールされます。

関連する問題