On 8 February 2013 20:48, Dave Colter <dave_at_knudsenengineering.com> 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_at_CSSHSocket@@UAEXH_at_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-develReceived on 2013-02-08