microsoft / DiskANN

Graph-structured Indices for Scalable, Fast, Fresh and Filtered Approximate Nearest Neighbor Search
Other
1.02k stars 208 forks source link

[Question] Met error when building rust/diskann #535

Open xingtanzjr opened 5 months ago

xingtanzjr commented 5 months ago

Hi there,

I can successfully build the whole project using cmake. But I encountered the error when trying to build the rust version.

I ran the command as follow:

cd rust;
cargo build

And I got the error as follow:

error: failed to run custom build command for `logger v0.1.0 (C:\Users\xxx\DiskANN\rust\logger)`

Caused by:
  process didn't exit successfully: `C:\Users\xxx\DiskANN\rust\target\debug\build\logger-7b60c6a40dd9a004\build-script-build` (exit code: 101)
  --- stderr
  thread 'main' panicked at logger\build.rs:10:52:
  called `Result::unwrap()` on an `Err` value: VcpkgInstallation("could not read status file updates dir: The system cannot find the path specified. (os error 3)")
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I have installed vcpkg inside the folder. Any help is appreciated!