I have a Visual Studio 2012 C++ project. I installed libcurl by Right Clicking my project and selecting Manage NuGet Packages.
I am trying to run the following simple program:
#include <stdio.h>
#include <curl\curl.h>
int main(void)
{
CURL *curl;
CURLcode res;
curl_global_init(CURL_GLOBAL_DEFAULT);
curl = curl_easy_init();
if(curl)
{
//I will do something
}
return 0;
}
When I run it I get the following error:
This solution: Calling any cURL function results in "entry point not found" when executing the program pointed me to this solution: Using the Windows 8 SDK to compile for Windows 7 which told me to change my Platform Toolset from Visual Studio 2012 (v110) to Visual Studio 2012 - Windows XP (v110_xp)
But I still get the same error.
Anyone know how to solve this?