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: Wed, 18 May 2016 16:21:01 +0300

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.

On Wed, May 18, 2016 at 3:55 PM, Alexander Lamaison <swish_at_lammy.co.uk>
wrote:

>
> On Wed, 18 May 2016 12:05 Moti Avrahami, <moti.dp_at_gmail.com> wrote:
>
>>
>> Hi Alexander,
>>
>> I tried to use CMake, as you offered, in order to generate a VS2003
>> project file, but encountered some errors.
>> I used the CMake GUI with the source code folder:
>> "C:\...\libss2-1.7.0\src" and I got these errors in the output window:
>> -------------
>>
>> CMake Error at CMakeLists.txt:38 (include):
>> include could not find load file:
>>
>> CheckFunctionExistsMayNeedLibrary
>>
>
>
> You should point CMake at the top-level directory, not src.
>
> 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-18

the libssh2 team