Skip to content

Error compiling on Apple Silicon/ARM64 #24

@aromberg

Description

@aromberg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions