8000 Error compiling on Mac · Issue #31 · maickrau/MBG · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Error compiling on Mac #31

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. 8000 We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Euphrasiologist opened this issue Oct 9, 2024 · 1 comment
Open

Error compiling on Mac #31

Euphrasiologist opened this issue Oct 9, 2024 · 1 comment

Comments

@Euphrasiologist
Copy link

Hello,

I'm getting this error when compiling on my M1 Mac:

src/RankBitvector.cpp:9:10: error: unrecognized instruction mnemonic
        __asm__("popcnt %0, %0" : "+r" (x));
                ^
<inline asm>:1:2: note: instantiated into assembly here
        popcnt x0, x0
        ^
src/RankBitvector.cpp:9:10: error: unrecognized instruction mnemonic
        __asm__("popcnt %0, %0" : "+r" (x));
                ^
<inline asm>:1:2: note: instantiated into assembly here
        popcnt x9, x9
        ^
src/RankBitvector.cpp:9:10: error: unrecognized instruction mnemonic
        __asm__("popcnt %0, %0" : "+r" (x));
                ^
<inline asm>:1:2: note: instantiated into assembly here
        popcnt x10, x10
        ^
3 errors generated.
make: *** [obj/RankBitvector.o] Error 1

Any ideas?

Thanks,
Max

@walt676
Copy link
walt676 commented Nov 29, 2024

Same errors, does MBG support macOS?

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
0