title: Using zlib in Visual C++ project
body: <p>I've been struggling to compile my Visual C++ 2010 project with dependency of Zlib. I've got source code that worked on Linux and Mac OS X. Here's, where I have linker errors:</p>
  
  <pre><code>error LNK2019: unresolved external symbol _inflate@8 referenced in function...
  error LNK2019: unresolved external symbol _inflateInit2_@16 referenced in function...
  error LNK2019: unresolved external symbol _deflate@8 referenced in function...
  error LNK2019: unresolved external symbol _deflateInit2_@32 referenced in function...
  </code></pre>
  
  <p>I've been finding solution for few days now, trying compiling Zlib different ways, but it is clear that I've missed something. Very similar question has been answered here, but not clearly enough for amateur like me. I would need step-by-step guide how to get it to work.</p>
  
  <p>Thank you in advance.</p>