1

I followed the tutorial here on this to add libcurl to my VS project

http://mariusbancila.ro/blog/2018/03/13/using-curl-library-from-c-on-windows/

After following all the steps still i get below linking errors.

error LNK2019: unresolved external symbol _curl_global_init referenced
error LNK2019: unresolved external symbol _curl_easy_init referenced in function

Its 5 hours trying same,but still cant resolve.Please help!!

zdenek
  • 21,428
  • 1
  • 12
  • 33
pushE
  • 394
  • 3
  • 16
  • You should link to ``curl`` static libraries – Asesh Apr 25 '18 at 10:47
  • i have done as below already Add CURL_STATICLIB to the preprocessor definitions. – pushE Apr 25 '18 at 10:54
  • 1
    Add curl.lib to the [link library list](https://stackoverflow.com/questions/4445418/how-do-i-add-additional-libraries-in-c) – Victor Gubin Apr 25 '18 at 10:59
  • This is also done Add the following static libraries to the list of Additional dependencies: libcurld.lib;Crypt32.lib;ws2_32.lib;winmm.lib;wldap32.lib; – pushE Apr 25 '18 at 11:05
  • Try `dumpbin.exe /SYMBOLS libcurld.lib` and check the presence of the symbol – zdenek Apr 25 '18 at 11:49

0 Answers0