curl-library
Re: libcurl eas built whitout LIBSSH2
Date: Wed, 23 Apr 2008 18:28:05 +0530
On Wed, Apr 23, 2008 at 6:06 PM, Stephen Collyer
<scollyer_at_netspinner.co.uk> wrote:
> mikep_at_proatria.com wrote:
> > This is now available at:
> > http://curl.haxx.se/download/libcurl-7.18.0-win32-openssl-libssh2.zip
>
> I'm getting link errors from VS2005 when trying to link against
> this library. I can successfully link the same code against
> a pre-built libcurl-7.15.0 downloaded from curl.haxx.se
>
> A sample error is:
>
> > HTTP.obj : error LNK2019: unresolved external symbol __imp__curl_easy_init referenced in function "public: __thiscall MDP::HTTP::HTTP(void)"
>
> Does anyone have any idea what could be going wrong here ?
> AFAICS the linker is looking at the correct directory to
> pick up the libraries as the build log contains this:
>
> > /LIBPATH:"..\..\..\..\external-libs\win32\curl"
>
> which is the correct location for libcurl.lib
>
> (And while I'm thinking about it, where does that leading
> __imp__ in the symbol name come from ? Is that the prefix
> used by VS when it looks in the list of symbols exported by
> a library ?)
>
> --
> Regards
>
> Steve Collyer
> Netspinner Ltd
>
Do you have the updated OPENSSL libraries linked. Please check.
Received on 2008-04-23