-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
Issue with go get on M1 MacOS #86
Comments
modify face.go at this project package face // #cgo CXXFLAGS: -std=c++1z -Wall -O3 -DNDEBUG -mcpu=apple-m1 |
another solutions is update clang with brew lang: error: the clang compiler does not support '-march=native' 1° - Install llvm con brew
Result:
3° - modify path with the new version, for example add to .zshrc |
I tried the solution above, and now it gets an error
|
try |
Fixed by copying dlib in |
Hey all, pretty new to go and having a problem with go get on MacOS 12.2/Go 1.17.6 on M1.
Here is what I am facing:
I am not sure if I am missing some flag that would allow this to build. Here is my go env:
Any recommendations? I am not seeing where -march=native is set. There was a stack overflow thread that suggested using -mcpu=apple-m1 however I am not seeing where to put that.
The text was updated successfully, but these errors were encountered: