Subject: Re: [libssh2] Using libssh2 under MSVC7

Re: [libssh2] Using libssh2 under MSVC7

From: Guenter Knauf <eflash_at_gmx.net>
Date: Mon, 16 Jul 2007 10:01:42 +0200

Hi Petr,
I've just fixed the MSVC project files, and also the NMakefile...

what you finally use depends on the result you want to get:
if you use the DLL then your project later on depends on this, and you will have to put the libssh2.dll somewhere in the search path so that it can be asutoloaded;
if you want to get a statically linked binary then use the libssh2_lib target, and link against that lib;
in addition your project will also depend on the OpenSSL libs...

its required to build your project with LIBSSH2_WIN32 defined in order to get the right defines from the libssh2.h header.

greets, Guenter.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-07-16