faiss::read_index compile error #3645
Unanswered
siyuanWang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
when I run the faiss::read_index,there is a error. please help me.thanks.
std::string absolutely_path = "/opt/xxxxxx/fulldata/AdEmb/inverted/spuEmb/IndexIVFFlat/L2/geoHash/fidx"; const char* faiss_index_path = const_cast<char*>(absolutely_path.c_str()); faiss::Index* ri = faiss::read_index(faiss_index_path);Summary
FAILED: build64_release/index/faiss/test/faiss_test
g++ -o build64_release/index/faiss/test/faiss_test -static-libgcc -static-libstdc++ build64_release/index/faiss/test/faiss_test.objs/ivf_flat_with_flat_l2_quantizer_test.cc.o build64_release/index/faiss/libfaiss_index.a build64_release/index/libindex.a build64_release/pool/libpool.a build64_release/store/libstore.a build64_release/common/libcommon.a thirdparty/log4cpp/lib64_release/liblog4cpp.a thirdparty/faiss/lib64_release/libfaiss.a thirdparty/blas/lib64_release/libopenblas_haswellp-r0.3.19.dev.a thirdparty/gtest/lib64_release/libgtest.a thirdparty/gtest/lib64_release/libgtest_main.a thirdparty/perftools/lib64_release/libtcmalloc.a -lpthread -lgfortran -lgomp
thirdparty/faiss/lib64_release/libfaiss.a(WorkerThread.cpp.o): In function
std::__future_base::_State_base::_State_base()': WorkerThread.cpp:(.text._ZNSt13__future_base11_State_baseC2Ev[_ZNSt13__future_base11_State_baseC5Ev]+0x13): undefined reference tovtable for std::__future_base::_State_base'collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Blade(error): building failure.
Blade(error): failure
Platform
CentOS Linux release 7.6.1810 (Core)
Faiss version: v1.7.1
Installed from: compiled by myself
Running on:
Interface:
All reactions