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

Archive Index This month's Index

Subject: Re: Windows Build

Re: Windows Build

From: Alexander Lamaison <swish_at_lammy.co.uk>
Date: Fri, 4 Sep 2015 12:21:57 +0100

On 4 September 2015 at 01:32, Matthew Voss <ormris_at_ormris.us> wrote:
> Do you know someone I could hire to do this build for me? My boss has
> prioritized other projects, but still want's this done. Ideally, we'd be
> able to get some simple Windows build instructions and the necessary
> CMake files. He's also said that contributing back is OK, BTW.

Maybe I'm misunderstanding what you're trying to do. Building libssh2
on Windows should be a 2-minute job, not an epic project.

Did you follow the instructions here:
https://github.com/libssh2/libssh2/blob/master/docs/INSTALL_CMAKE? It
is as simple as open CMake; point cmake at the libssh2 source; give it
a binary directory to output the generated project in; press
'Generate'; choose your version of visual studio.

If you have OpenSSL installed, it will find it automatically. If you
don't, it will use Window's built-in crypto (WinCNG).

When it's finished generating, open the VS project it generated in the
binary directory. Build as you would normally (F7). Done.


Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org)
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2015-09-04

the libssh2 team