Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apple (arm64) m1 device cannot compile #21

Open
4cecoder opened this issue Oct 12, 2022 · 3 comments
Open

apple (arm64) m1 device cannot compile #21

4cecoder opened this issue Oct 12, 2022 · 3 comments

Comments

@4cecoder
Copy link

4cecoder commented Oct 12, 2022

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 4cecoder changed the title apple (arm64) m1 device apple (arm64) m1 device cannot compile Oct 12, 2022
@4cecoder
Copy link
Author

error output updated

@eliukblau
Copy link
Owner

Related #22

@eliukblau
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants