curl-library
Re: libcurl eas built whitout LIBSSH2
Date: Wed, 23 Apr 2008 13:36:50 +0100
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 LtdReceived on 2008-04-23