cURL / Mailing Lists / curl-library / Single Mail


Re: libcurl eas built whitout LIBSSH2

From: Stephen Collyer <>
Date: Wed, 23 Apr 2008 13:36:50 +0100 wrote:
> This is now available at:

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

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 ?)

Steve Collyer
Netspinner Ltd
Received on 2008-04-23