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

Error compiling on Apple Silicon/ARM64 #24

Open
aromberg opened this issue May 2, 2024 · 0 comments
Open

Error compiling on Apple Silicon/ARM64 #24

aromberg opened this issue May 2, 2024 · 0 comments

Comments

@aromberg
Copy link

aromberg commented May 2, 2024

Hello,

while trying to install cobs on an Apple Silicon machine, I ran into the following error:

In file included from /Users/adrian/Desktop/cobs/cobs/query/classic_index/mmap_search_file.cpp:9:
In file included from /Users/adrian/Desktop/cobs/cobs/query/classic_index/mmap_search_file.hpp:12:
In file included from /Users/adrian/Desktop/cobs/cobs/query/classic_index/search_file.hpp:13:
In file included from /Users/adrian/Desktop/cobs/cobs/query/index_file.hpp:15:
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/immintrin.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"

Would really appreciate your help with this! It looks like this could be fixed by using something like SIMDe, however I haven't been able to figure it out just yet.

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

1 participant