pixterm icon indicating copy to clipboard operation
pixterm copied to clipboard

apple (arm64) m1 device cannot compile

Open 4cecoder opened this issue 3 years ago • 3 comments

terminal input

go mod tidy
go run cmd/pixterm/pixterm.go

error output:

# command-line-arguments
cmd/pixterm/pixterm.go:64:3: undefined: printIcon
cmd/pixterm/pixterm.go:68:2: undefined: printContributors

For some odd reason there's an issue within func printCredits()

printIcon() & printContributers() are out of scope therefore unreachable

if you comment out printIcon() & printContributers() within func printCredits() then it builds successfully

4cecoder avatar Oct 12 '22 17:10 4cecoder

error output updated

4cecoder avatar Oct 12 '22 19:10 4cecoder

Related https://github.com/eliukblau/pixterm/pull/22

eliukblau avatar Jan 12 '23 01:01 eliukblau

Hi! Thanks for your observations. What's the version of golang.org/x/sys that you say compiles correctly on Apple M1?

eliukblau avatar Jan 12 '23 02:01 eliukblau