Building libCUrl on Windows with /MT and /MTd

CUrl and libCUrl is a very powerful library for sending HTTP and HTTPS requests to servers. Building the libraries on windows with Visual studios using the /MT and /MTd flags is non-trivial. Using: curl-7.37.0

Instructions

  1. Download and extract the CUrl source code to a temp directory. http://curl.haxx.se/, in this tutorial we will be using curl-7.37.0
  2. Open the “Visual Studio Command Prompt (2010)”
  3. Browse to the Winbuilds folder. \curl-7.37.0\winbuild.
  4. Type “Set RTLIBCFG=static ” in to the command prompt and hit enter. This will set up the compiler to build for /MT and /MTd.
  5. Type “nmake /f MakeFile.vc mode=static DEBUG=yes” to build the debug version or
    Type “nmake /f MakeFile.vc mode=static DEBUG=no” to build the release versions.

Did you know that we also do BACnet Integration Solutions?

Chipkin has BACnet solutions for almost every situation. We have over 20+ years of experience in BACnet integration, check out our BACnet Products:

Contact Us

Contact us via phone (+1 866-383-1657) or leave a detailed message below for sales, support, or any other needs

*Required Field
*Required Field
I'd like to receive the newsletter. *Check email for confirmation.
*Required Field
8:00am - 12:00pm 12:00pm - 5:00pm