1 個回答
- 最新
- 最多得票
- 最多評論
0
Hi!
It looks like CMake can't find OpenSSL. Setting the OPENSSL_ROOT_DIR environment variable and ensuring it's set correctly should fix this. You want to set it to the absolute path to the OpenSSL installation folder containing the "bin", "include" and "lib" folders. For example, if the crypto.h header file is located at "C:\OpenSSL\include\crypto.h", then the OPENSSL_ROOT_DIR environment variable should be set to "C:\OpenSSL". Make sure to restart your IDE or command prompt after changing the environment variable for your user account, as changes in environment variables don't affect running processes.
相關內容
- 已提問 8 個月前
- 已提問 1 年前

It worked when I installed OpenSSL 1.1.1w. I had OpenSSL 3.1.5 before.