Hi Alex,
Thanks for your reply. You were right -- I was missing a reference in
my project config.
Cheers,
Dave.
At 04:15 PM 08/02/2013, you wrote:
On 8 February 2013 20:48, Dave Colter <d...@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@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
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel