Kevin Chugh | 5 Oct 2011 13:25
Picon

swfmill gem issue with zlib

hi- i'm trying to install the swfmill gem but keep getting this error:


swfmill/src/swft/readpng.c: In function ‘readpng_version_info’:
swfmill/src/swft/readpng.c:75:7: error: ‘ZLIB_VERSION’ undeclared (first use in this function)
swfmill/src/swft/readpng.c:75:7: note: each undeclared identifier is reported only once for each function it appears in
swfmill/src/swft/readpng.c:75:21: error: ‘zlib_version’ undeclared (first use in this function)
swfmill/src/swft/readpng.c: In function ‘readpng_init’:
swfmill/src/swft/readpng.c:89:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
make: *** [swfmill/src/swft/readpng.o] Error 1

I cannot get this to compile.  I was able to get swfmill to compile by removing the reference to ZLIB_VERSION but the gem is auto-downloading everytime and overwriting my attempts to modify the source.

Thanks for any help,
Kevin
_______________________________________________
swfmill mailing list
swfmill@...
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Gmane