pajowu/signal-backup-decode

Error trying to install on Windows 7.

Closed this issue · 2 comments

So I just installed Cargo, I'm on Windows 7. I get this error when trying to install signal-backup-decode.

   Compiling openssl-sys v0.9.31
error: failed to run custom build command for `openssl-sys v0.9.31`
process didn't exit successfully: `C:\Users\DAVEKA~1\AppData\Local\Temp\cargo-in
stallEnxWzu\release\build\openssl-sys-6eac7ebabc0d6549\build-script-main` (exit
code: 101)
--- stdout
cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_MSVC_OPENSSL_LIB_DIR
cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_MSVC_OPENSSL_INCLUDE_DIR
cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
cargo:rerun-if-env-changed=X86_64_PC_WINDOWS_MSVC_OPENSSL_DIR
cargo:rerun-if-env-changed=OPENSSL_DIR
note: vcpkg did not find openssl as libcrypto and libssl : VcpkgNotFound("No vcp
kg.user.targets found. Set the VCPKG_ROOT environment variable or run \'vcpkg in
tegrate install\'")
note: vcpkg did not find openssl as ssleay32 and libeay32: VcpkgNotFound("No vcp
kg.user.targets found. Set the VCPKG_ROOT environment variable or run \'vcpkg in
tegrate install\'")

--- stderr
thread 'main' panicked at '

Could not find directory of OpenSSL installation, and this `-sys` crate cannot
proceed without this knowledge. If OpenSSL is installed and this crate had
trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
compilation process.

Make sure you also have the development packages of openssl installed.
For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.

If you're in a situation where you think the directory *should* be found
automatically, please open a bug at https://github.com/sfackler/rust-openssl
and include information about your system as well as this message.

    $HOST = x86_64-pc-windows-msvc
    $TARGET = x86_64-pc-windows-msvc
    openssl-sys = 0.9.31


It looks like you're compiling for MSVC but we couldn't detect an OpenSSL
installation. If there isn't one installed then you can try the rust-openssl
README for more information about how to download precompiled binaries of
OpenSSL:

    https://github.com/sfackler/rust-openssl#windows

', C:\Users\Dave Kap\.cargo\registry\src\github.com-1ecc6299db9ec823\openssl-sys
-0.9.31\build/main.rs:232:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

warning: build failed, waiting for other jobs to finish...

This seems to be an issue related to a missing openssl dependency. have you tried the instructions at https://github.com/sfackler/rust-openssl/blob/master/README.md#windows-msvc to install it?

That fixed it! Thank you!