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

Archive Index This month's Index

Subject: Compiling libssh2 under x64 with Visual Studio 2010

Compiling libssh2 under x64 with Visual Studio 2010

From: Nick Pateman <nick.pateman_at_certivox.com>
Date: Mon, 17 Sep 2012 09:32:04 +0000

Hi there,

I'm trying to compile libssh2 under x64 on Visual Studio 2010 but am not having much luck at the moment.

I added the curl include path to the configuration which eliminates the missing curl.h references. Then unfortunately I get 2229 errors.

Many thanks in advance for any help. I've put an excerpt of some of the errors below...

Error 201 error C2081: 'key_exchange_state_t' : name in formal parameter list illegal c:\pop\libcurl_x64\libssh2-1.4.2\libssh2-1.4.2\src\libssh2_priv.h 1010 1 libssh2
Error 864 error C2143: syntax error : missing ')' before '*' c:\ pop \libcurl_x64\libssh2-1.4.2\libssh2-1.4.2\src\crypto.h 99 1 libssh2
Error 870 error C2143: syntax error : missing ')' before '*' c:\ pop \libcurl_x64\libssh2-1.4.2\libssh2-1.4.2\src\crypto.h 104 1 libssh2
Error 901 error C2143: syntax error : missing ')' before '*' c:\ pop \libcurl_x64\libssh2-1.4.2\libssh2-1.4.2\src\libssh2_priv.h 842 1 libssh2
Error 910 error C2143: syntax error : missing ')' before '*' c:\ pop \libcurl_x64\libssh2-1.4.2\libssh2-1.4.2\src\libssh2_priv.h 1010 1 libssh2
Error 930 error C2143: syntax error : missing ')' before '*' c:\ pop \libcurl_x64\libssh2-1.4.2\libssh2-1.4.2\src\crypto.h 47 1 libssh2
Error 934 error C2143: syntax error : missing ')' before '*' c:\ pop \libcurl_x64\libssh2-1.4.2\libssh2-1.4.2\src\crypto.h 63 1 libssh2
Error 940 error C2143: syntax error : missing ')' before '*' c:\ pop \libcurl_x64\libssh2-1.4.2\libssh2-1.4.2\src\crypto.h 67 1 libssh2

Nick.

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-09-17

the libssh2 team