Engagement of curl to project



  • There's a compiled curl library. We need to get her to the visual studio so we can use it directly from the project without extra superstructures?



  • Connect your header-File.

    #include <curl/curl.h>

    Connect the library file.

    #pragma comment ( lib, "путь/к/скомпилированной/библиотеке/libcurl.lib" )

    In the pre-processory definitions, add

    CURL_STATICLIB

    Use it.

    P.S.: For fixtures, if necessary, connected and used libcurld.lib




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2