The sound distributed version control system

#3 Cannot build on Windows 10 due to cryptovec/winapi missing LPVOID and SIZE_T

Closed on November 9, 2020
nyanpasu64 on November 6, 2020

I’m on Windows 10 x64, on the latest rustc 1.47.0, using stable-x86_64-pc-windows-msvc ABI. When I try running cargo install anu --version 1.0.0-alpha, I get the following build error:

error[E0432]: unresolved imports `winapi::LPVOID`, `winapi::SIZE_T`
   --> C:\Users\nyanpasu\.cargo\registry\src\\cryptovec-0.5.3\src\
164 | use winapi::{LPVOID, SIZE_T};
    |              ^^^^^^  ^^^^^^ no `SIZE_T` in the root
    |              |
    |              no `LPVOID` in the root

error: aborting due to previous error

For more information about this error, try `rustc --explain E0432`.
error: could not compile `cryptovec`.

cryptovec depends on winapi 0.3 (which anu locks to winapi 0.3.9). As a whole, anu causes cargo to download both winapi 0.2.8 and 0.3.9, which in my opinion is unwanted semi-duplicated code.

pmeunier on November 9, 2020

Thanks! I just published CryptoVec 0.5.5, which fixes that. The new Pijul repositories are not yet available, sorry about that.

pmeunier closed this discussion on November 9, 2020