Where is “curl.lib” for DMD?
问题 When I import etc.c.curl; DMD tells me Warning 2: File Not Found curl.lib Where is this curl.lib? (I've tried several packages from http://curl.haxx.se/download.html but haven't found curl.lib there. MSVC package libcurl-7.19.3-win32-ssl-msvc.zip have a curllib.lib but DMD won't link with it.) 回答1: You can create curl.lib using implib. Implib is in the Basic Utilities download. Run it against your curllib.dll in /libcurl-7.19.3-win32-ssl-msvc/lib/Release/ like this: implib /s curl.lib curllib