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

Install on Ubuntu 18.04 failed #448

Closed
vinchauhan opened this issue May 18, 2019 · 4 comments
Closed

Install on Ubuntu 18.04 failed #448

vinchauhan opened this issue May 18, 2019 · 4 comments
Labels

Comments

@vinchauhan
Copy link

vinchauhan commented May 18, 2019

Description

rm -rf /tmp/opencv go run ./cmd/version/main.go
# bytes /usr/local/go/src/bytes/bytes_decl.go:10:6: IndexByte redeclared in this block previous declaration at /usr/local/go/src/bytes/bytes.go:101:34 /usr/local/go/src/bytes/bytes_decl.go:17:6: Equal redeclared in this block previous declaration at /usr/local/go/src/bytes/bytes.go:18:25 /usr/local/go/src/bytes/bytes_decl.go:24:6: Compare redeclared in this block previous declaration at /usr/local/go/src/bytes/bytes.go:37:27 Makefile:106: recipe for target 'verify' failed make: *** [verify] Error 2

Steps to Reproduce

Your Environment

  • Operating System and version: Ubuntu 18.04
  • OpenCV version used:
  • How did you install OpenCV?
  1. go get -u -d gocv.io/x/gocv
  2. cd $GOPATH/src/gocv.io/x/gocv
  3. make install
  • GoCV version used:
  • Go version:
  • Did you run the env.sh or env.cmd script before trying to go run or go build?
@deadprogram
Copy link
Member

Hi @vinchauhan what version of Go do you have installed?

@vinchauhan
Copy link
Author

Hi @vinchauhan what version of Go do you have installed?

I recently migrated to latest on this machine and this is the first time I am installing gocv on it.

~/go/src/gocv.io/x/gocv$ go version
go version go1.12.5 linux/amd64

@deadprogram
Copy link
Member

Looks like a problem with your overall Go install. Hard to tell from the info you sent, but it is known to work on that OS.

@vinchauhan
Copy link
Author

Yeah looks like I had to reinstall Go as many other things were giving the same error - I havent tried to reinstall gocv yet after I reinstalled my Go - It was likely an install issue on my end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants