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
- 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
- Open the "Visual Studio Command Prompt (2010)"
- Browse to the Winbuilds folder. \curl-7.37.0\winbuild.
- Type "Set RTLIBCFG=static " in to the command prompt and hit enter. This will set up the compiler to build for /MT and /MTd.
- 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: