layeh / gumble

gumble is a Mumble client implementation in Go (golang)
https://pkg.go.dev/mod/layeh.com/gumble
Mozilla Public License 2.0
172 stars 55 forks source link

Unable to install opus #18

Closed jcdesimp closed 8 years ago

jcdesimp commented 8 years ago

When I attempt to run go get "github.com/layeh/gumble/opus" I get the following error:

# github.com/layeh/gumble/opus
../../../github.com/layeh/gumble/opus/opus.go:54: e.Encoder.ResetState undefined (type *gopus.Encoder has no field or method ResetState)

I figure I must be doing something wrong but I can't figure out how to resolve it.

I'm developing on Mac OS X 10.11.4 Beta go version go1.5.2 darwin/amd64

ghost commented 8 years ago

Rerun that command after executing the following:

go get -u github.com/layeh/gopus
ghost commented 8 years ago

Also, pass the -u flag when you go get:

go get -u "github.com/layeh/gumble/opus"
jcdesimp commented 8 years ago

Ahh ok got it thanks!