Did anyone try zlib for compression?
by Ivan Yung · in Technical Issues · 09/25/2002 (1:36 am) · 2 replies
Hi all, I've tried to include zlib.h and call compress() and uncompress() in my program, but I got a unresolved external symbol error when I compile it. Did any body try it before? Could you share some of the experience?
#2
Guido
10/05/2002 (10:13 pm)
I've done some tests with it and didn't have any problems. As Josh points out, though, you will have to include ZLIB.LIB in your project and you need to make sure to include it in a your build configurations for the Debug and Release build.Guido
Torque Owner Josh Goldshlag
Assuming you are using Visual Studio, you need to add zlib.lib to the input section of the link tab in project settings.
Josh