sketch icon indicating copy to clipboard operation
sketch copied to clipboard

Compile error

Open afeghahati opened this issue 2 years ago • 1 comments

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.

afeghahati avatar Mar 08 '23 21:03 afeghahati

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.

dnbaker avatar Mar 10 '23 22:03 dnbaker