Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error。 #144

Closed
gguoss opened this issue Jun 28, 2017 · 3 comments
Closed

build error。 #144

gguoss opened this issue Jun 28, 2017 · 3 comments

Comments

@gguoss
Copy link

gguoss commented Jun 28, 2017

go version 1.8

./main.go:57: cannot use cmd.RootCmd (type *"github.com/tendermint/go-crypto/vendor/github.com/spf13/cobra".Command) as type *"github.com/tendermint/basecoin/vendor/github.com/spf13/cobra".Command in argument to BaseCli.AddCommand

@adrianbrink
Copy link
Contributor

Have you run make get_vendor_deps?

@ethanfrey
Copy link
Contributor

@gguoss I assume you are trying to compile master (0.6.0)? Please specify which branch/commit if not.

And yes, you probably want make all, which will get all vendor deps, compile, and test to make sure everything is running fine, including some cli tests on the compiled scripts. Once make all succeeds, you can feel confident running the code, even on a non-master branch.

That being said, if you just want to run master, then the easiest solution is to get a pre-compiled binary of the last release: https://tendermint.com/download

@ethanfrey
Copy link
Contributor

Please re-open if this doesn't solve the problem.

ParthDesai pushed a commit to ChorusOne/cosmos-sdk that referenced this issue Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants