heartbpm icon indicating copy to clipboard operation
heartbpm copied to clipboard

Multiple errors with Go

Open MelchiorDussol opened this issue 1 year ago • 3 comments

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 !

MelchiorDussol avatar Oct 28 '23 22:10 MelchiorDussol

Provide details about your errors please

schollz avatar Oct 28 '23 23:10 schollz

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)

MelchiorDussol avatar Oct 29 '23 08:10 MelchiorDussol

I should point out that I am a total beginner in coding.

MelchiorDussol avatar Oct 29 '23 08:10 MelchiorDussol