Closed pawamoy closed 5 years ago
I tried and worked for go 1.9 but didn't work for go 1.7.
This happens because we've used type aliases to deprecate parts of the pions/webrtc
public API. Type aliases where introduced with go 1.9.
I'm getting:
C:\Users\me>go get -u github.com/maxmcd/webtty
# github.com/maxmcd/webtty
.go\src\github.com\maxmcd\webtty\client.go:26:18: undefined: pty.GetsizeFull
.go\src\github.com\maxmcd\webtty\client.go:47:21: undefined: syscall.SIGWINCH
.go\src\github.com\maxmcd\webtty\client.go:57:9: undefined: syscall.SIGWINCH
.go\src\github.com\maxmcd\webtty\host.go:37:18: undefined: pty.Start
.go\src\github.com\maxmcd\webtty\host.go:128:17: undefined: pty.GetsizeFull
.go\src\github.com\maxmcd\webtty\host.go:142:16: undefined: pty.Setsize
After I just installed latest go v1.11.2
@crazy4groovy you might want to run go get -u ./...
in the root of the project. I think you might have an out of date kr/pty
Installed correctly with go 1.9, 1.9.7, 1.10, 1.10.5, 1.11 and 1.11.2.
Hi, just got this message when doing
go get -u github.com/maxmcd/webtty
with go 1.8:Tried again with go version 1.9.7 and it worked. I know it depends on pions/webrtc but maybe you could add a note in the README about the minimum required go version :slightly_smiling_face: