I\'ve been trying to compile an application which utilizes zlib compression in VC++ 2010.
I get the
error LNK2019: unresolved external symbol _infla
Did you verify that your zlib function prototypes are in an extern "C" block? If not, then the linker will be looking for functions with C++-mangled names, while zlib.lib will contain the unmangled C names.
extern "C"