2009/1/9 Ludovic Gélé <ludovic.g...@raysa.org>: > Hi folks, > > I'm trying to use your lib for my app, but it seems there is a little > problem in the libssh2.h file. When I try to compile my source code, or > the "test\simple.c" source code, I've the same errors. For my source code: > > 1>libssh2-1.0.1-20090109\include\libssh2.h(561) : error C2146: erreur de > syntaxe : absence de ';' avant l'identificateur 'libssh2_channel_read_ex'
snip > I'm under WinXP SP3, with openssl 0.9.8j, downloaded here: > http://www.slproweb.com/products/Win32OpenSSL.html > > I use the libssh2-1.0.1-20090109 source code for the lib, and I'm under > Visual studio 2008 express Have you defined LIBSSH2_WIN32 in your Preprocessor definitions? Newer versions of the SDK haven't got a definition of ssize_t. Libssh2.h will add it if missing, but only if it knows it needs to so you need the previous definition to let it compile Windows-specific code. HTH Alex. ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel