Hello!
I've managed to compile libssh2 itself but stumbled upon compiling
examples. Here's error log of msvc compiler for sftp.c example:
..\include\libssh2.h(620) : error C2061: syntax error : identifier
'libssh2_channel_read_ex'
..\include\libssh2.h(620) : error C2059: syntax error : ';'
..\include\libssh2.h(620) : error C2059: syntax error : 'type'
..\include\libssh2.h(650) : error C2061: syntax error : identifier
'libssh2_channel_write_ex'
..\include\libssh2.h(650) : error C2059: syntax error : ';'
..\include\libssh2.h(650) : error C2059: syntax error : 'type'
..\include\libssh2_sftp.h(236) : error C2061: syntax error :
identifier 'libssh2_sftp_read'
..\include\libssh2_sftp.h(236) : error C2059: syntax error : ';'
..\include\libssh2_sftp.h(236) : error C2059: syntax error : 'type'
..\include\libssh2_sftp.h(248) : error C2061: syntax error :
identifier 'libssh2_sftp_write'
..\include\libssh2_sftp.h(248) : error C2059: syntax error : ';'
..\include\libssh2_sftp.h(248) : error C2059: syntax error : 'type'
.\sftp.c(257) : warning C4013: 'libssh2_sftp_read' undefined; assuming
extern returning int
.\sftp.c(259) : warning C4013: 'write' undefined; assuming extern returning int
Am I missing some include/define?
-- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2010-07-06