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 errors #7

Closed
husam212 opened this issue Dec 30, 2019 · 1 comment
Closed

Build errors #7

husam212 opened this issue Dec 30, 2019 · 1 comment

Comments

@husam212
Copy link

Commands:

mkdir /tmp/godir
export GOPATH=/tmp/godir
go get github.com/hdiniz/rtpdump

Output:

# github.com/hdiniz/rtpdump
godir/src/github.com/hdiniz/rtpdump/main.go:19:26: c.GlobalString undefined (type *cli.Context has no field or method GlobalString)
godir/src/github.com/hdiniz/rtpdump/main.go:204:10: undefined: cli.NewMultiError
godir/src/github.com/hdiniz/rtpdump/main.go:218:10: undefined: cli.NewMultiError
godir/src/github.com/hdiniz/rtpdump/main.go:238:11: undefined: cli.NewMultiError
godir/src/github.com/hdiniz/rtpdump/main.go:246:10: undefined: cli.NewMultiError
godir/src/github.com/hdiniz/rtpdump/main.go:304:15: cannot use []cli.Command literal (type []cli.Command) as type []*cli.Command in assignment
godir/src/github.com/hdiniz/rtpdump/main.go:326:19: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
	cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
godir/src/github.com/hdiniz/rtpdump/main.go:327:16: cannot use cli.IntFlag literal (type cli.IntFlag) as type cli.Flag in array or slice literal:
	cli.IntFlag does not implement cli.Flag (Apply method has pointer receiver)
godir/src/github.com/hdiniz/rtpdump/main.go:335:16: cannot use cli.Command literal (type cli.Command) as type *cli.Command in array or slice literal
godir/src/github.com/hdiniz/rtpdump/main.go:345:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
	cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
godir/src/github.com/hdiniz/rtpdump/main.go:345:17: too many errors
@tamoghnabhaduri
Copy link

I am also getting same issue. Anyone can provide any solution??

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

2 participants