Subject: windows build

windows build

From: theclerk <theclerk_at_flipthebit.com>
Date: Wed, 26 May 2010 16:12:59 -0400

I've been following the past couple of days with changes and progress to
the windows build. I can get it to build cleanly (VC9/static), however
I get the following errors when trying to build the scp example. It
appears that although the lib compiles, its not correctly building (fact
that an external app can't find libssh2_init). When viewing the symbols
with dumpbin the lib shows the function as UNDEF.

I'm linking libssh against OpenSSL (ssleay32, libeay32), zlib, and ws2_32.

1>scp_write.obj : error LNK2001: unresolved external symbol _libssh2_exit
1>scp_write.obj : error LNK2001: unresolved external symbol _libssh2_init
1>libssh.lib(session.obj) : error LNK2001: unresolved external symbol
__libssh2_init_if_needed
1>libssh.lib(openssl.obj) : error LNK2001: unresolved external symbol
__libssh2_init_if_needed
1>libssh.lib(session.obj) : error LNK2001: unresolved external symbol
_libssh2_keepalive_send
1>libssh.lib(comp.obj) : error LNK2001: unresolved external symbol
_inflateInit_
1>libssh.lib(comp.obj) : error LNK2001: unresolved external symbol
_deflateInit_
1>libssh.lib(comp.obj) : error LNK2001: unresolved external symbol _inflate
1>libssh.lib(comp.obj) : error LNK2001: unresolved external symbol _deflate
1>libssh.lib(comp.obj) : error LNK2001: unresolved external symbol
_inflateEnd
1>libssh.lib(comp.obj) : error LNK2001: unresolved external symbol
_deflateEnd
1>C:\Projects\libssh2-dev\win32\Release\scp.exe : fatal error LNK1120:
10 unresolved externals

Thanks,
-B
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-05-26