Open
Description
Expected Behavior
make should compile the application
Actual Behavior
make fails in the middle of the compilation
Example Code
Follow the Readme
Dataset Description
Not applicable
Error
cstdint import missing?
#29 2.394 /home/randl/DiskANN/include/ann_exception.h:22:65: error: 'uint32_t' has not been declared
#29 2.394 22 | const std::string &fileName, uint32_t lineNum);
#29 2.394 | ^~~~~~~~
#29 2.394 compilation terminated due to -Wfatal-errors.
#29 2.398 In file included from /home/randl/DiskANN/src/ann_exception.cpp:4:
#29 2.398 /home/randl/DiskANN/include/ann_exception.h:22:65: error: 'uint32_t' has not been declared
#29 2.398 22 | const std::string &fileName, uint32_t lineNum);
#29 2.398 |
and cascading errors from there
Your Environment
Failing setup:
- Docker container with ubuntu:latest, i.e. v24.04 noble, kernel 6.2.0-26-generic
- DiskANN a2a0f69 (latest commit on main at the time of writing)
- g++ 13.2.0 freshly installed from apt
Working setup:
- replace g++ with g++-9 in CMakeLists.txt on the same container