www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: Problem in compiling libssh2

Re: Problem in compiling libssh2

From: Moti Avrahami <moti.dp_at_gmail.com>
Date: Thu, 19 May 2016 15:25:54 +0300

Seems so, it was solved, thanks.

Anyway, now it still keep telling me about the OpenSSL binding error:

CMake Error at C:/Program Files (x86)/CMake
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.8k")
Call Stack (most recent call first):
C:/Program Files (x86)/CMake
C:/Program Files (x86)/CMake
src/CMakeLists.txt:63 (find_package)


As you can see, no matter what I did (described below), it tell me all the
time that OPENSSL_LIBRARIES is missing:

I defined the following:
OPENSSL_ROOT_DIR - to the root of folder OpenSSL
OPENSSL_INCLUDE_DIR - to the include dir with all the .h files
OPENSSL_LIBRARIES - to the libs folder

I tried it with both OpenSSL version 0.9.8k and 1.0.0 but it doesn't work.

I tried to clean the bin folder several times.

Is there something that I missed?


On Wed, May 18, 2016 at 8:30 PM, Alexander Lamaison <swish_at_lammy.co.uk>

> On Wed, 18 May 2016 14:21 Moti Avrahami, <moti.dp_at_gmail.com> wrote:
>> I tried it, but it told me:
>> CMake Error: The source "C:/Workspace/V5.5/libssh2-1.7.0/CMakeLists.txt"
>> does not match the source
>> "C:/Workspace/V5.5/libssh2-1.7.0/src/CMakeLists.txt" used to generate
>> cache. Re-run cmake with a different source directory.
>> There were indeed 2 different versions CMakeLists.txt but even after
>> making them the same, I got the same error above.
> Use a clean binary directory. It's messed up from the previous attempt.
> Alex
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2016-05-19

the libssh2 team