Conan-center-index: [question] cannot search/install benchmark/1.5.0

Created on 22 Mar 2020  路  4Comments  路  Source: conan-io/conan-center-index

It appears that conan already have support for benchmark/1.5.0.

I am not able to search the same with conan.

akshit:~$ conan search *benchmark*
There are no packages matching the '*benchmark*' pattern
akshit:~$ conan search *benchmark* --remote=conan-center
Existing package recipes:

benchmark/1.5.0

I am wondering how should I go about knowing which package to search and install for google benchmark.

akshit:~$ conan install benchmark/1.5.0
ERROR: Conanfile not found at /home/akshit/benchmark/1.5.0
akshit:~$ conan install benchmark/1.5.0@bincrafter/stable
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=8.3
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

benchmark/1.5.0@bincrafter/stable: Not found in local cache, looking in remotes...
benchmark/1.5.0@bincrafter/stable: Trying with 'conan-center'...
benchmark/1.5.0@bincrafter/stable: Trying with 'conan-community'...
benchmark/1.5.0@bincrafter/stable: Trying with 'bincrafters'...
ERROR: Unable to find 'benchmark/1.5.0@bincrafter/stable' in remotes
question

Most helpful comment

conan install benchmark/1.5.0@ is shorter and works too 馃槃

All 4 comments

Try conan install benchmark/1.5.0@_/_ without the @user/channel the command line does not know to search the remotes when installing.

Thanks, it's working with conan install benchmark/1.5.0@_/_.

conan install benchmark/1.5.0@ is shorter and works too 馃槃

@akshit-sharma prefer @Croydon approaches. The underscore are just placeholders and have no effect.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dmn-star picture dmn-star  路  3Comments

IceflowRE picture IceflowRE  路  3Comments

Croydon picture Croydon  路  3Comments

mmha picture mmha  路  3Comments

Croydon picture Croydon  路  3Comments