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

Trouble Compiling on M1 Mac #53

Closed
HTDerekLiu opened this issue Dec 14, 2022 · 2 comments
Closed

Trouble Compiling on M1 Mac #53

HTDerekLiu opened this issue Dec 14, 2022 · 2 comments

Comments

@HTDerekLiu
Copy link

I am trying to compile fTetWild on M1 Macbook. I got some compile errors due to the architecture.

...
/Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
#error "This header is only meant to be used on x86 and x64 architecture"
 ^
/Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/mmintrin.h:37:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
    __builtin_ia32_emms();
...

I wonder whether there is a quick fix to the issue?

Thanks,
Derek

@Yixin-Hu
Copy link
Collaborator

It's fixed. Please try again.

@HTDerekLiu
Copy link
Author

Thank you!! It works now :)

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