cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Compiling libcurl 7.21.27with VS2010

From: Josue Andrade Gomes <josue.gomes.honeypot_at_gmail.com>
Date: Mon, 25 Jul 2011 08:54:58 -0300

On Mon, Jul 25, 2011 at 7:07 AM, Yoav Einav <yoave_at_qwilt.com> wrote:

> I'm trying to build libcurl on windows with visual studio 2010.****
>
> I've converted the existing libcurl VS2005 project to 2008 and then to
> 2010.****
>
> And using *msbuild libcurl.sln* - I'm creating the libcurl.lb.****
>
> ** **
>
> Unfortunately, I'm getting link errors:****
>
> curl_test.obj : error LNK2019: unresolved external symbol
> __imp__curl_global_init referenced in function "public: virtual void
> __thiscall a::elwood::ut::HttpClient::globalSetUp(void)"
> (?globalSetUp_at_HttpClient@ut@****
>
> curl_test.obj : error LNK2019: unresolved external symbol
> __imp__curl_global_cleanup referenced in function "public: virtual void
> __thiscall a::elwood::ut::HttpClient::globalTearDown(void)"
> (?globalTearDown_at_HttpClient@ut****
>
> ** **
>
> Any help? Ideas?****
>
> ** **
>
> thanks ****
>
> ** **
>
> *
> *
>

Add /VERBOSE:LIB to your link options and double check which libraries are
being searched.

josue
www.josuegomes.com

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-07-25