Subject: Re: unresolved external symbol _libssh2_session_init_ex

Re: unresolved external symbol _libssh2_session_init_ex

From: Dave Colter <dave_at_knudsenengineering.com>
Date: Tue, 12 Feb 2013 08:42:30 -0500

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 <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-devel

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2013-02-12