When trying to link program to zlib 1.2.5 static library (zlib.lib), I got the following error: fatal error LNK1120: X unresolved externals … Version 1.1.3 worked without any problems. Without going into details, here is what I did – using DUMPBIN.EXE I figured out that I am using __cdecl (/Gd) Calling convention, but zlib somehow …
Continue reading “zlib 1.2.5 – fatal error LNK1120: X unresolved externals”