Subject: Re: Building libssh2 in Windows using CMAKE

Re: Building libssh2 in Windows using CMAKE

From: Alexander Lamaison <swish_at_lammy.co.uk>
Date: Tue, 05 Jan 2016 08:04:55 +0000

On Tue, 5 Jan 2016 07:56 Alexander Lamaison <swish_at_lammy.co.uk> wrote:

> On Tue, 5 Jan 2016 07:50 Mark Anthony Santos <MarkAnthony.Santos_at_infor.com>
> wrote:
>
>> Hello,
>>
>> I’d like to change my application to use libssh2 instead of libssh but
>> I’m getting an error from the very start of cmake.
>>
>>
>>
>> I downloaded the code from https://github.com/libssh2/libssh2 and
>> followed what is written in INSTALL_CMAKE
>>
>>
>>
>> First I run :
>>
>>
>>
>> *cmake <libssh2 source location> // I’m currently in
>> libssh2\src directory*
>>
> You're running CMake in the wrong directory. It should be the top-level
> source directory, ie, the parent of src.
>

Sorry for the woolly language: by 'running CMake in' I meant the CMake
source directory is wrong. The target directory (usually the current
directory) can be whatever you like.

Alex

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