I included libcurl in my .cpp file, but I get a error that I can't fix.
It's a linking error I think.
My code :
Error :
Can someone tell me why...
I'm 99% sure it' because I'm not using a .lib file, however the .zip did not include any .lib or even a dll. I had to download the .dll from somewhere else.
It would help greatly if someone could provide me the .lib file for LibCurl...
It's a linking error I think.
My code :
Code
#include<libcurl/curl/curl.h>
int main()
{
CURL *curl = curl_easy_init();
if (curl)
{
curl_easy_setopt(curl, CURLOPT_URL, "SITE");
curl_easy_perform(curl);
curl_easy_cleanup(curl);
}
return 0;
}Error :
Code
unresolved external symbol _imp_curl_easy_init referenced in function main.Can someone tell me why...
I'm 99% sure it' because I'm not using a .lib file, however the .zip did not include any .lib or even a dll. I had to download the .dll from somewhere else.
It would help greatly if someone could provide me the .lib file for LibCurl...

