curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

curl static visual studio

From: Mike via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 15 Mar 2020 10:24:04 +0100

HI
why do I get those Reference to unresolved external symbol errors:
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol
"__imp_curl_global_init" in Funktion "XPluginStart".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol
"__imp_curl_global_cleanup" in Funktion ""int __cdecl initAuth(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >)" (?initAuth@
@YAHV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@0_at_Z)".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol
"__imp_curl_easy_init" in Funktion ""enum CURLcode __cdecl curl_read(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::basic_ostream<char,struct
std::char_traits<char> > &,long)" (?curl_read@@YA?AW4CURLcode@
@AEBV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@
@AEAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@3_at_J@Z)".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol
"__imp_curl_easy_setopt" in Funktion ""enum CURLcode __cdecl
curl_read(class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::basic_ostream<char,struct
std::char_traits<char> > &,long)" (?curl_read@@YA?AW4CURLcode@
@AEBV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@
@AEAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@3_at_J@Z)".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol
"__imp_curl_easy_perform" in Funktion ""enum CURLcode __cdecl
curl_read(class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::basic_ostream<char,struct
std::char_traits<char> > &,long)" (?curl_read@@YA?AW4CURLcode@
@AEBV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@
@AEAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@3_at_J@Z)".
1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol
"__imp_curl_easy_cleanup" in Funktion ""enum CURLcode __cdecl
curl_read(class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::basic_ostream<char,struct
std::char_traits<char> > &,long)" (?curl_read@@YA?AW4CURLcode@
@AEBV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@
@AEAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@3_at_J@Z)".
1

Many thanks
Michael

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-03-15