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

Cannot Compile on m1 mac #788

Closed
bayou-brogrammer opened this issue May 21, 2022 · 3 comments
Closed

Cannot Compile on m1 mac #788

bayou-brogrammer opened this issue May 21, 2022 · 3 comments

Comments

@bayou-brogrammer
Copy link

CleanShot 2022-05-21 at 09 43 17@2x

Im using m1 mac on the latest Monterey, and I keep getting erros where GamePad is not available to me.

CleanShot 2022-05-21 at 09 44 13@2x

Looking at the source I believe it is not getting compiled due to my arch?

@KennethGrace
Copy link

I'd like to add to this post and add that there is an additional issue in EngoEngine/gl. Your last compiler error there,

../../../../../go/pkg/mod/github.com/!engo!engine/[email protected]/engo_mobile.go:97:25: too many arguments in call to gl.NewContext
	have (interface{})
	want ()

seems to be caused by a mismatch in the build tags between engo_mobile.go and gl_mobile.go. I've created an issue there to track as well.

Hope we can get this working on our M1s soon. 😄

@KennethGrace
Copy link

looks like this was resolved in Pull Request #37 in EngoEngine/gl and on Pull Request #785. Neither of these changes have been released yet though, so you'll need to pull from the master branch.

go get github.com/EngoEngine/gl@master
go get github.com/EngoEngine/engo@master

This solved the issue on my M1, so you should be able to close this issue.

@otraore
Copy link
Member

otraore commented Jul 10, 2022

The changes were released here.

You should be able to run go get -u @lecoqjacob and get the latest version to be able to run the example.

Let me know if there are any issues.

Closed by #785 being released.

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

No branches or pull requests

3 participants