THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/03/2003 at 22:54, xxxxxxxx wrote:
Cinema 4D Version: 8.012
Platform: Windows ;
Language(s) : C++ ;
Just in case zlib makes no sense, it is a standard compression/decompression used by almost everything (gzip, zip, png, etc). It is open source and can be checked out at http://www.gzip.org/zlib/.
Sounds simple enough. It is not. C4D headers conflict with zlib headers (zlib.h and zconf.h) in a very nasty way - all the way down to MSVC++ Windows headers. With c4d.h included before zlib.h, the compiler dies on errors. With zlib.h included after c4d.h, it's only 3 warnings, but 1 error (redefinition of basic type WORD). I cannot get around this. Cannot redefine it and cannot fix your SDK nor zlib's static lib (without rewriting it, which is not on my menu this century).
This means that no alternatives are available to me: neither the source code, the dll, nor the static lib. All require the same headers.
Any brave souls like to tackle this one?