Some compiling errors
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 5k
- Forks
- 622
- Avg merge
- 8h 37m
- Merged PRs (30d)
- 5
Description
There are some errors when compiling latest code, is my compile environment not right or other reasons?
-
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); -
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the build and inspect SearchSsdIndex.h:141 for the PRId64 compiler error, then trace the CMake wrapper target that copies Wrappers/inc/SPTAGClient.py into Release. Done means the reported compiler and copy errors are resolved and the complete build succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp, python
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100