0

i'm trying to use libcurl in my C++ application, but i'm running into linker errors. I did add the include and lib folder in my project and added the .lib file in the additional dependencies.

Error: LNK2019 unresolved external symbol __imp__curl_easy_init referenced in function _main

thoo
  • 9
  • 1
  • 2
  • are you using the static or dynamic version of the libraries? If you have the static one you need to set `CURL_STATICLIB` as preprocessor variable – John Doe Sep 18 '20 at 10:19
  • @JohnDoe I'm using the static version. I added CURL_STATICLIB but now i get alot of other errors. https://cdn.thoo.nl/KyCVblTd5AAmf0p8YYHG.png – thoo Sep 18 '20 at 10:21
  • @thoo Please don't post image links. They die and it's unhelpful for others who find your post and have similar issues. – Ivor Denham-Dyson Sep 18 '20 at 10:48

0 Answers0