I downloaded the https://download.libsodium.org/libsodium/releases/libsodium-1.0.2-mingw.tar.gz pre-compiled library, extracted its contents, and added C:\libs\libsodium-win64\lib
to my Path
system variable, which is the directory containing the file libsodium.a
PS D:\dev\maidsafe\sodiumoxide> cargo build
Compiling pkg-config v0.3.5
Compiling libc v0.1.10
Compiling rustc-serialize v0.3.16
Compiling libsodium-sys v0.0.8 (file:///D:/dev/maidsafe/sodiumoxide/libsodium-sys)
Build failed, waiting for other jobs to finish...
failed to run custom build command for `libsodium-sys v0.0.8 (file:///D:/dev/maidsafe/sodiumoxide/libsodium-sys)`
Process didn't exit successfully: `D:\dev\maidsafe\sodiumoxide\target\debug\build\libsodium-sys-ab6f591903ba079c\build-script-build` (exit code: 101)
--- stderr
thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: "failed to run `\"pkg-config\" \"--libs\" \"--cflags\" \"libsodium\"`: The system cannot find the file specified. (os error 2)
"', ../src/libcore\result.rs:734
@Ross or @anon86652309, Ben mentioned you are better placed to help me out. Thanks.