There is a compiled library curl. Need to connect it to visual studio so that you can use it directly from the project, without any extra add-ons?
1 answer
Connect the header file
#include <curl/curl.h>
Connect the library file
#pragma comment ( lib, "ΠΏΡΡΡ/ΠΊ/ΡΠΊΠΎΠΌΠΏΠΈΠ»ΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΉ/Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠ΅/libcurl.lib" )
In the preprocessor definitions in the properties of the project add
CURL_STATICLIB
You are using.
PS: For debugging, if necessary, the debug version of liby is connected and used - libcurld.lib
|
curlbuilt in the same version of the studio, with the same settings, then there should be no problems - Vladimir Gamalyan