SPTAG icon indicating copy to clipboard operation
SPTAG copied to clipboard

Some compiling errors

Open luoyger opened this issue 3 years ago • 0 comments

There are some errors when compiling latest code, is my compile environment not right or other reasons?

  1. log output eroor SPTAG/AnnService/inc/SSDServing/VectorSearch/SearchSsdIndex.h:141:88: error: expected ‘)’ before ‘PRId64’ LOG(Helper::LogLevel::LL_Error, "Error: Xvec file %s has No.%" PRId64 " vector whose dims are fewer than expected. Expected: %" PRId32 ", Fact: %" PRId32 "\n", truthPath.c_str(), i, K, dim);

  2. SPTAGClient.py not exists [ 95%] Building CXX object Wrappers/CMakeFiles/_SPTAGClient.dir//AnnService/src/Socket/ConnectionManager.cpp.o [ 95%] Building CXX object Wrappers/CMakeFiles/_SPTAGClient.dir//AnnService/src/Socket/Packet.cpp.o [ 96%] Building CXX object Wrappers/CMakeFiles/_SPTAGClient.dir//AnnService/src/Socket/RemoteSearchQuery.cpp.o [ 97%] Building CXX object Wrappers/CMakeFiles/_SPTAGClient.dir//AnnService/src/Socket/Server.cpp.o [ 98%] Building CXX object Wrappers/CMakeFiles/_SPTAGClient.dir/src/ClientInterface.cpp.o [ 98%] Linking CXX shared library ../../Release/_SPTAGClient.so Error copying file "/root/SPTAG/Wrappers/inc/SPTAGClient.py" to "/root/SPTAG/Release/". make[2]: *** [../Release/_SPTAGClient.so] Error 1 make[2]: *** Deleting file `../Release/_SPTAGClient.so' make[1]: *** [Wrappers/CMakeFiles/_SPTAGClient.dir/all] Error 2 make: *** [all] Error 2

luoyger avatar Nov 06 '21 07:11 luoyger