cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Compiling libcurl 7.21.27with VS2010

From: Yoav Einav <yoave_at_qwilt.com>
Date: Mon, 25 Jul 2011 13:24:53 +0300

And by the way, I read the link
http://curl.haxx.se/docs/faq.html#Link_errors_when_building_libcur

I do want to link to a static library, so I've added the CURL_STATICLIB in
the "Preprocessor Definitions", but still getting the same link errors.

 

From: Yoav Einav [mailto:yoave_at_qwilt.com]
Sent: Monday, July 25, 2011 1:08 PM
To: 'curl-library_at_cool.haxx.se'
Subject: Compiling libcurl 7.21.27with VS2010

 

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

 

Yoav Einav

 

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