cURL / Mailing Lists / curl-library / Single Mail

curl-library

compiling project using curl on msvs2010

From: Eugeny Melamud <Eugeny.Melamud_at_lanit-tercom.com>
Date: Mon, 23 Jan 2012 16:50:49 +0400

Hi all!

I'm developing a dll that uses libcurl. I builded lib with vc6curlsrc.dsw project (I found it into srcfolder of curl distributive). After I add libcurl.lib to dependences of profect I get

main.obj : error LNK2019: unresolved external symbol __imp__curl_easy_init referenced in function "private: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall ComappingApi::request(char * const)" (?request_at_ComappingApi@@AAE?AV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@QAD_at_Z)

the same if I don't add libcurl.lib to dependences. Am I missing something!

Thank you in advance!!
Eugeny

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-23