Cannot Compile on m1 mac
bayou-brogrammer opened this issue · 3 comments
bayou-brogrammer commented
KennethGrace commented
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/engo@v1.0.6/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 commented
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.