title: Cannot compile static library of libcurl
body: <p>I've been reading all over the internet and tried many things but still I cannot seem to find the problem. I'm trying to use libcurl as a static lib but here is what my compiler says : </p>
  
  <p><strong>1>libcurl.lib(cookie.obj) : error LNK2001: unresolved external symbol __imp__fgets
  1>libcurl.lib(netrc.obj) : error LNK2001: unresolved external symbol __imp__fgets
  1>libcurl.lib(cookie.obj) : error LNK2001: unresolved external symbol __imp__fputs
  1>libcurl.lib(ftp.obj) : error LNK2001: unresolved external symbol __imp____stdio_common_vsscanf
  1>libcurl.lib(rtsp.obj) : error LNK2001: unresolved external symbol __imp____stdio_common_vsscanf
  1>libcurl.lib(socks.obj) : error LNK2001: unresolved external symbol __imp____stdio_common_vsscanf
  1>libcurl.lib(http_proxy.obj) : error LNK2001: unresolved external symbol __imp____stdio_common_vsscanf</strong></p>
  
  <p>And so on.. </p>
  
  <p>I have added <strong>CURL_STATICLIB</strong> to preprocessor and even linked with these libraries: <strong>libcurl.lib openssl.lib, libssh2.lib, zlib.lib, wsock32.lib, wldap32.lib, ws2_32.lib</strong> but none of this worked.</p>
  
  <p>I really would like to use it as a static library (without the .dll in the program folder) so I will appreciate if someone could help me!</p>
  
  <p>PS. I am using VS2015</p>