Subject: Re: build libssh2 with openssl

Re: build libssh2 with openssl

From: Micka <mickamusset_at_gmail.com>
Date: Mon, 18 Feb 2019 10:02:58 +0100

I've compiled openssl in 32 bit, maybe it is the problem ?

On Mon, Feb 18, 2019 at 9:10 AM Micka <mickamusset_at_gmail.com> wrote:
>
> I tried with :
>
> cmake -DOPENSSL_ROOT_DIR="..\..\..\OpenSSL\source\vc-win32"
> -DOPENSSL_SSL_LIBRARY="..\..\..\OpenSSL\source\vc-win32\lib\libssl.lib"
> -DOPENSSL_CRYPTO_LIBRARY="..\..\..\OpenSSL\source\vc-win32\lib\libcrypto.lib"
> -DOPENSSL_INCLUDE_DIR="..\..\..\OpenSSL\source\vc-win32\include"
> CMake Warning:
> No source or binary directory provided. Both will be assumed to be the
> same as the current working directory, but note that this warning will
> become a fatal error in future CMake releases.
>
>
> -- Selecting Windows SDK version to target Windows 10.0.17134.
> CMake Error at C:/Program
> Files/CMake/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:137
> (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) (found
> version "1.1.1b")
>
>
>
> same result :'(
>
> On Fri, Feb 15, 2019 at 3:18 PM Peter Stuge <peter_at_stuge.se> wrote:
> >
> > Micka wrote:
> > > cmake -DOPENSSL_INCLUDE_DIR="..\..\..\OpenSSL\source\vc-win32\include"
> > > -DOPENSSL_ROOT_DIR="..\..\..\OpenSSL\source\vc-win32"
> >
> > I guess (only guess! I don't know cmake so well) the above are fine.
> >
> >
> > > -DOPENSSL_SSL_LIBRARY="..\..\..\OpenSSL\source\vc-win32\lib"
> > > -DOPENSSL_CRYPTO_LIBRARY="..\..\..\OpenSSL\source\vc-win32\lib"
> >
> > I think these are wrong. I think you should specify the actual .lib
> > files above, not just the directory.
> >
> >
> > //Peter
> > _______________________________________________
> > libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2019-02-18