Closed sambengtson closed 7 years ago
Which Go version are you using. I don't think that if your go version is greater that 1.6 than this should be issue
Sorry, I should have specified. Go1.8
ohh that was stupid of me, this is not that issue. Let me see
go get github.com/fuzxxl/nfc/2.0/nfc
works for me...
@hsanjuan You don't see anything like this?
sam@sam-VirtualBox:~/Go/src/github.com$ go get github.com/fuzxxl/nfc/2.0/nfc github.com/fuzxxl/nfc/2.0/nfc/nfc.go:206: undefined: context
Ah. This happens to me when trying to compile with CGO_ENABLED=0
Try CGO_ENABLED=1. Since this library is a C binding you probably need to use CGO.
@hsanjuan There we go! Thanks!
I installed the library using go get
I'm receiving a build error that would indicate that I possibly installed the library incorrectly.
I tried downloading the root project directly into my GOPATH but am still experiencing the same behavior. Can you advise? I'm sure it's something dumb that I'm overlooking.