Closed danhardman closed 7 years ago
Did it start working?
I was being an idiot. I was developing in atom using the go-plus package which builds files on save. I didn't have GOOS=linux set so when it got to building files with the syscall
package imported, it couldn't find the linux variables (because I'm on windows).
Moral of the story: If you want to use anything that uses the syscall
package on anything other than linux, set GOOS=linux.
There's a bunch of errors when I import
github.com/kidoman/embd/host/rpi
saying:undefined: syscall...
I think this is to do with the note mentioned in the overview of: https://golang.org/pkg/syscall/I'm developing on Windows 10 and using go version go1.5.3 windows/amd64