Nitzan Tomer
Nitzan Tomer

Reputation: 164397

cmake fails to find OpenSSL libs (cpp-netlib)

I'm trying to build the cpp-netlib on windows (8.1) with VS2013 (express). When I run cmake:
C:\...\build\cmake ..\source -DCMAKE_BUILD_TYPE=Release

it writes:

Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES) (found version "0.9.8h")

I installed OpenSSL using the GnuWin32 installer (http://gnuwin32.sourceforge.net/packages/openssl.htm) using the full package (except sources).
I've also set the OPENSSL_ROOT_DIR and OPENSSL_LIBRARIES env. variables but to no avail.

I've searched, and there's quite a bit of information about it, but nothing I found helped me solve it..
Any ideas?

Thanks.

Upvotes: 4

Views: 854

Answers (1)

AliusEquinox
AliusEquinox

Reputation: 1

You just need to install the libssl-dev package (ubuntu)

Upvotes: -2

Related Questions