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:[email protected]] Sent: Monday, July 25, 2011 1:08 PM To: '[email protected]' 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@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@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
