I’m hitting a wall trying to get OpenSSL working with my Rust project on Windows. I’ve tried several solutions, but I’m still running into errors. Here’s what I’m dealing with:
error: could not find native static library `ssl`, perhaps an -L flag is missing?
error: could not compile `openssl-sys` (lib) due to 1 previous error
What I’ve tried:
- Installing OpenSSL
- Setting OPENSSL_DIR environment variable
- Setting OPENSSL_LIB_DIR, OPENSSL_INCLUDE_DIR, SSL_CERT_FILE
- Using vcpkg to install OpenSSL
And still, not work, What am I missing here?
1