1
votes

I am trying to compile a servermod on Debian using CMake. Every required packages seems do be installed. If I start compiling I get this error:

    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)

and I have absolutely no clue how to fix it. Where does it has to be set?

1
Have you installed OpenSSL? - suspectus
yes sure openssl is installed - user2139268
Can you show the makefile? - suspectus
can you explain? Sorry but i am no expert, just downloaded the mod following steps given in a tutorial. - user2139268

1 Answers

5
votes

You probably need to install the development kit of openssl.

apt install libssl-dev

I had the same issue and this fixed it for me.