Skip to content

Instantly share code, notes, and snippets.

View magdev2022's full-sized avatar
🏠
Working from home

MagDev magdev2022

🏠
Working from home
View GitHub Profile
@magdev2022
magdev2022 / libcurl.md
Created May 11, 2024 04:04 — forked from grahamcrowell/libcurl.md
libcurl visual studio
  1. build libcurl
  • download source from https://curl.haxx.se/download.html: ..\curl-7.53.1\curl-7.53.1..
  • open visual studio developer command prompt
  • cd to: ..\curl-7.53.1\curl-7.53.1\winbuild
  • nmake /f Makefile.vc mode=dll VC=14 MACHINE=x64
  1. configure visual studio project:
  • set to 64 bit release builds
  • Properties:
    • C/C++ -> Additional Include Directories: ..\curl-7.53.1\curl-7.53.1\builds\libcurl-vc14-x64-release-dll-ipv6-sspi-winssl\include;
  • Linker -> Additional Library Directories: ..\curl-7.53.1\curl-7.53.1\builds\libcurl-vc14-x64-release-dll-ipv6-sspi-winssl\lib;