[Zlib-devel] Error in README-WIN32.txt

William A. Rowe Jr. wrowe at rowe-clan.net
Thu Apr 8 15:26:15 EDT 2010


On 4/8/2010 3:04 AM, John Bowler wrote:
> The official built binaries for both 1.2.3 and 1.2.4 contain the following lines in README-WIN32.txt:
> 
>   zdll.lib         Install these files into the compilers' LIB path if linking
>   zdll.exp         a compiled program to the zlib1.dll binary
> 
>   zlib.lib         Install these files into the compilers' LIB path if linking
>   zlib.pdb         a compiled program to the zlib1.dll binary (zlib.pdb ensures
>                    that the resulting program may be debugged)
> 
> I believe the 'zlib' lines are wrong, zlib.lib is (I believe) the static library, whereas zdll.lib is an import library for zlib1.dll.  As recently reported on the png-implement mail list by the person who noticed this (not me, though if I'm wrong about zlib.lib that *is* my fault):
> 
> "Shouldn't that really say:
> 
>   zlib.lib         Install these files into the compilers' LIB path if linking
>   zlib.pdb         a compiled program to the *zlib.lib* binary (zlib.pdb ensures
>                    that the resulting program may be debugged)"

Looks likes my cut and past error... good replacement text.

  zlib.lib         Install these files into the compilers' LIB path to link zlib
  zlib.pdb         into compiled programs, without zlib1.dll runtime dependency
                   (zlib.pdb provides debugging info to the compile time linker)

That would let them know they don't need to pass down zlib.pdb again with their exe.




More information about the Zlib-devel mailing list