title: LibCurl - Release Static Lib linking problems
body: <p>I have been at this for some time now. I hope someone can tell me what I am doing wrong.</p>
  
  <p>These are the steps I have taken so far:</p>
  
  <p>-Downloaded the latest version of cURL (7.21.7).</p>
  
  <p>-Opened the solution in Visual Studio 2010 using the vc6curl.dsw and converted the projects to VS2010.</p>
  
  <p>-Set the libcurl project configuration to "release" and built. Build succeeded.A folder called "LIB-Release" is created. It contains several obj files and the "libcurl.lib" file resides here as well.</p>
  
  <p>Test Application:</p>
  
  <p>-In the project's settings I pointed the compiler to the curl includes (headers).</p>
  
  <p>C/C++ >> General >> Additional Include Directories</p>
  
  <p>-Added "CURL_STATICLIB" to the preprocessor definitions</p>
  
  <p>C/C++ >> Preprocessor Definitions</p>
  
  <p>-Added the path to the "libcurl.lib" folder in my linker additional library dependencies</p>
  
  <p>Link >> General >> Additional Library Directories</p>
  
  <p>-Added "libcurl.lib" to my linker additional dependencies</p>
  
  <p>Link >> Input >> Additional Dependencies</p>
  
  <p>-Set my projects configuration to "Realease" and hit build!</p>
  
  <p>I get 42 unresolved externals errors:</p>
  
  <blockquote>
    <p>Error 65  error LNK1120: 42 unresolved
    externals C:\Users\Nick\Documents\Visual Studio
    2010\Projects\curl_static_lib\Release\curl_static_lib.exe curl_static_lib
    Error 61  error LNK2001: unresolved external symbol
    ___WSAFDIsSet@8   C:\Users\Nick\Documents\Visual Studio
    2010\Projects\curl_static_lib\curl_static_lib\libcurl.lib(select.obj) curl_static_lib
    Error 59  error LNK2001: unresolved external symbol
    _<em>imp</em>_accept@12  C:\Users\Nick\Documents\Visual Studio
    2010\Projects\curl_static_lib\curl_static_lib\libcurl.lib(ftp.obj)    curl_static_lib
    Error 46  error LNK2001: unresolved external symbol
    _<em>imp</em>_ber_free   C:\Users\Nick\Documents\Visual Studio
    2010\Projects\curl_static_lib\curl_static_lib\libcurl.lib(ldap.obj)   curl_static_lib
    Error 26  error LNK2001: unresolved external symbol
    _<em>imp</em>_bind@12    C:\Users\Nick\Documents\Visual Studio
    2010\Projects\curl_static_lib\curl_static_lib\libcurl.lib(connect.obj)    curl_static_lib</p>
  </blockquote>
  
  <p>I have tried building using the "Debug" configuration as well. Can someone please tell me where I am going wrong?</p>