heartbpm
heartbpm copied to clipboard
Multiple errors with Go
Hello, I can't figure how to setup the software part. I get multiple errors with the Terminal and can't create the heartbpm executable. Do you have more precise intruction for the software setup ? Maybe it's not working anymore with the new Go version ? Thanks a lot !
Provide details about your errors please
I think don't understand "Now you can go into the heartbpm code and simply run in a terminal:" I setup the terminal to the heartbpm-master folder, so I type this command :
C:\Arduino\heartbpm-master>go build -v
and I get this error :
main.go:20:2: cannot find package "github.com/RobinUS2/golang-moving-average" in any of: C:\Program Files\Go\src\github.com\RobinUS2\golang-moving-average (from $GOROOT) C:\Users\terra\go\src\github.com\RobinUS2\golang-moving-average (from $GOPATH) main.go:21:2: cannot find package "github.com/dustin/go-humanize" in any of: C:\Program Files\Go\src\github.com\dustin\go-humanize (from $GOROOT) C:\Users\terra\go\src\github.com\dustin\go-humanize (from $GOPATH) main.go:22:2: cannot find package "github.com/schollz/httpfileserver" in any of: C:\Program Files\Go\src\github.com\schollz\httpfileserver (from $GOROOT) C:\Users\terra\go\src\github.com\schollz\httpfileserver (from $GOPATH) main.go:23:2: cannot find package "github.com/schollz/logger" in any of: C:\Program Files\Go\src\github.com\schollz\logger (from $GOROOT) C:\Users\terra\go\src\github.com\schollz\logger (from $GOPATH) main.go:24:2: cannot find package "github.com/tarm/serial" in any of: C:\Program Files\Go\src\github.com\tarm\serial (from $GOROOT) C:\Users\terra\go\src\github.com\tarm\serial (from $GOPATH)
I should point out that I am a total beginner in coding.