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

Build fails on armv6, armv7 architectures: emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture" #6418

Closed
yurivict opened this issue Jul 24, 2022 · 1 comment
Labels
Bug Report Item submitted using the Bug Report template

Comments

@yurivict
Copy link

In file included from /wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.9.0/src/common/util/FpuState.cpp:4:
/nxb-bin/usr/lib/clang/14.0.5/include/emmintrin.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"
 ^ 

FreeBSD 14-CURRENT

@yurivict yurivict added the Bug Report Item submitted using the Bug Report template label Jul 24, 2022
@baconpaul
Copy link
Collaborator

The surge 1.9 family requires you to tell cmake you are building on arm with a flag if you skip the build linux scripts. The xt family should auto detect

https://github.com/surge-synthesizer/surge/tree/release/1.9.0#building-for-arm-platforms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Item submitted using the Bug Report template
Projects
None yet
Development

No branches or pull requests

2 participants