在 Windows(C++ IDE)上使用 CLion,我想在通过 WSL 运行的 Ubuntu 18.04.3 LTS 上安装最新版本的 cmake(当前版本的 CLion 需要 cmake > 3.15,而我只安装了 3.10.2 版) )。
按照相关答案中的cmake 安装说明,引导 CMake 时发生错误(链接答案中 A-3 中的第一步):
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found version "1.1.1")
CMake Error at Utilities/cmcurl/CMakeLists.txt:454 (message):
Could not find OpenSSL. Install an OpenSSL development package or
configure CMake with -DCMAKE_USE_OPENSSL=OFF to build without OpenSSL.
-- Configuring incomplete, errors …
Run Code Online (Sandbox Code Playgroud)