报错:
CMake Error at Utilities/cmcurl/CMakeLists.txt:505 (message):
Could not find OpenSSL.
在 Ubuntu 系统上的解决方法是,在命令行输入如下命令:
安装 openssl 的编译依赖
解决:sudo apt-get install libssl-dev
作者: zouqiqi 时间: 2021-11-23 19:50
让天下人人学会人工智能!人工智能的前景一片大好!作者: 东方耀 时间: 2022-10-14 14:10
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
CMake Error at Utilities/cmcurl/CMakeLists.txt:505 (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 occurred!
See also "/home/dfy/my_compile_sources/cmake-3.19.4/build/CMakeFiles/CMakeOutput.log".