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

Compile error #63

Open
afeghahati opened this issue Mar 8, 2023 · 1 comment
Open

Compile error #63

afeghahati opened this issue Mar 8, 2023 · 1 comment

Comments

@afeghahati
Copy link

Hi,

I cloned the repo recursively on a centos 7.9 machine. When I try to make the repo, I get the following error:

`make

g++ -std=c++17 -O3 -funroll-loops -pipe -march=native -I/usr/include/ -Iinclude/sketch -I. -Iinclude/blaze -Ivec -Ipybind11/include -Iinclude -fpic -Wall -Wall -Wextra -Wno-char-subscripts -Wpointer-arith -Wwrite-strings -Wdisabled-optimization -Wformat -Wcast-align -Wno-unused-function -Wno-unused-parameter -pedantic -Wunused-variable -Wno-cast-align -fno-strict-aliasing -Wreorder -Wno-unused-parameter -pthread kthread.o testsrc/swtest.cpp -o swtest -lz # -fsanitize=undefined -fsanitize=address
In file included from include/sketch/ccm.h:5,
from testsrc/swtest.cpp:1:
include/sketch/hash.h:25:24: error: 'vec' has not been declared
25 | using Type = typename vec::SIMDTypes<uint64_t>::Type;
| ^~~`

I will appreciate any help to fix it.

@dnbaker
Copy link
Owner

dnbaker commented Mar 10, 2023

Hi,

Thanks for letting me know! There were some recent changes to support M1, but in the process I broke Intel x86-64 support.

I've patched this up in this PR.

Thanks for your help!

And please don't hesitate to ask any further questions.

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