On 8 February 2013 20:48, Dave Colter <[email protected]> wrote:
> I'm trying to statically link to libssh2 from a C++ program I am writing.
> The LIB file builds fine (with some type mismatch warnings), but when I try
> to build my program, I get the linker error: error LNK2019: unresolved
> external symbol _libssh2_session_init_ex referenced in function "public:
> virtual void __thiscall CSSHSocket::OnConnect(int)"
> (?OnConnect@CSSHSocket@@UAEXH@Z).

Have you linked to the compiled libssh2 library?

Alex

-- 
Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org)
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to