2009/1/10 Ludovic Gele <ludovic.g...@raysa.org>: > That's very strange, for being sure that I have not a VStudio broken > installation, I install it on my home computer, where it was never > installed. I haven't install any plateform SDK, SUA SDK or MinGW > environnement. Just the Visual Studio Express 2008, openssl0.9.8j for > windows32, the vcredist, and the ZLIB for windows from here: > http://gnuwin32.sourceforge.net/packages/zlib.htm > > This is my preprocessor definition for the release build, and for the three > projects (libssh2_dll, libssh2_lib and tests): > WIN32 > NDEBUG > LIBSSH2_WIN32 > _LIB > _CRT_SECURE_NO_WARNINGS > _CRT_SECURE_NO_DEPRECATE > > This is all my include dirs: > > c:\program files\gnuwin32\include > libssh2\win32 > libssh2\include > c:\openssl\include > $(VCInstallDir)\include > $(VCInstallDir)\atlmfc\include > $(WindowsSDKDir)\include > $(FrameworkSDKDir)include > > and for the lib dir: > > c:\program files\gnuwin32\lib > libssh2\win32\Release_lib > c:\openssl\lib > $(VCInstallDir)lib > $(VCInstallDir)\atlmfc\lib > $(VCInstallDir)\atlmfc\lib\i386 > $(WindowsSDKDir)\lib > $(FrameworkSDKDir)lib > $(VSInstallDir) > $(VSInstallDir)lib > > I have modified the line 289 of the C:\Program > Files\GnuWin32\include\zconf.h from this: > # include <unistd.h> /* for SEEK_* and off_t */ > to this > //# include <unistd.h> /* for SEEK_* and off_t */ > > and I still have the same issue: > > ------ Début de la génération : Projet : tests, Configuration : Release > Win32 ------ > Compilation en cours... > simple.c > ..\include\libssh2.h(561) : error C2061: erreur de syntaxe : identificateur > 'libssh2_channel_read_ex' > ..\include\libssh2.h(561) : error C2059: erreur de syntaxe : ';' > ..\include\libssh2.h(561) : error C2059: erreur de syntaxe : 'type' > ..\include\libssh2.h(584) : error C2061: erreur de syntaxe : identificateur > 'libssh2_channel_write_ex' > ..\include\libssh2.h(584) : error C2059: erreur de syntaxe : ';' > ..\include\libssh2.h(584) : error C2059: erreur de syntaxe : 'type' > Le journal de génération a été enregistré à l'emplacement > "file://c:\Documents and Settings\gele\Mes > documents\devel\libssh2-1.0.1-20090110\win32\Release\BuildLog.htm" > tests - 6 erreur(s), 0 avertissement(s) > ========== Génération : 0 a réussi, 1 a échoué, 0 mis à jour, 0 a été ignoré > ==========
I'm a little worried about the presence of c:\program files\gnuwin32\include in the includes. Is there a particular reason for not using the regular version from http://www.zlib.net/? This may not be the problem but it helps to eliminate any differences. ------------------------------------------------------------------------------ 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