I use 2017 studio

Install curllib:

Project property -> Package management -> We are looking for curllib -> We choose to install

Message: curllib has been added to the project.

Connect curllib to the project:

//#define CURL_STATICLIB #pragma comment( lib, "libcurl.lib" ) #pragma comment( lib, "ws2_32.lib" ) #pragma comment( lib, "Wldap32.lib" ) #include <curl\curl.h> #include <sstream> 

Dependence on WinSocks2 considered.

When compiling it produces these errors.

screenshot of errors

Please tell me what could be the matter?

  • Includes the necessary missing, give the code itself. - NewView

0