You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ go version
go version go1.19.3 darwin/arm64
# upgrade sys fixes compile error
$ go get -u golang.org/x/sys
# install portmidi and export homebrew paths
$ brew install portmidi
$ export CPATH="$HOMEBREW_PREFIX/include:$CPATH"
$ export LIBRARY_PATH="$HOMEBREW_PREFIX/lib:$LIBRARY_PATH"# it works!
$ go run main.go
The text was updated successfully, but these errors were encountered:
It took me a minute to get this working on OS X / M1 / Golang 1.19.
Apply this diff fixes #18
The text was updated successfully, but these errors were encountered: