1

我正在尝试使用 CMake 在 Debian 上编译 servermod。似乎确实安装了每个必需的软件包。如果我开始编译,我会收到此错误:

    CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    OPENSSL_CRYPTO_LIBRARIES (ADVANCED)

    OPENSSL_INCLUDE_DIR (ADVANCED)

    OPENSSL_SSL_LIBRARIES (ADVANCED)

我完全不知道如何解决它。必须在哪里设置?

4

1 回答 1

5

您可能需要安装 openssl 的开发工具包。

apt install libssl-dev

我有同样的问题,这为我解决了这个问题。

于 2017-04-10T13:11:44.483 回答