madler / zlib

A massively spiffy yet delicately unobtrusive compression library.
http://zlib.net/
Other
5.55k stars 2.42k forks source link

Build error "syntax error version number" #916

Closed Spatzendame closed 6 months ago

Spatzendame commented 7 months ago

Building zlib using vc17 contrib ends with a syntax error "version number line 4". You have to open "zlibvc.def" file and change version number from 1.3.1 to 1.3 then build again and it works. I don't know why this issue happen.

madler commented 6 months ago

https://github.com/madler/zlib/commit/b14484997a50c01b8d78f9db32516423573fc083