I am running 64-bit Mint operating system using the Linux 5.4.0-58-generic kernel, and the OpenSSL version is v1.1.1f.
Tried both setting external environment variable OPENSSL_ROOT_DIR
to /usr/lib/ssl
and the cmake variable OPENSSL_ROOT_DIR
to /usr/lib/ssl
and the same error persists. I set OPENSSL_INCLUDE_DIR
on the cmake configuration variables and it removed the "OPENSSL_INCLUDE_DIR" error. I am not sure where OPENSSL_ROOT_DIR
should be or how the folder structure should look like (I have tried searching for the directory for a while now) so that would be great to know as well.
Here is the error I get:
-- Could NOT find Lua (missing: LUA_INCLUDE_DIR)
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
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)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.16/Modules/FindOpenSSL.cmake:447 (find_package_handle_standard_args)
CMakeLists.txt:74 (find_package)
-- Configuring incomplete, errors occurred!