libz or/and libpng for Windows (Phone) 8 Apps -
the problem pretty simple. when building w(p)8 can't compile .c files or use old c syntax code (the 1 function parameters specified twice).
libpng compilable under c++ doesn't use old synax code libz isn't. haven't been able find suitable replacement libz can compile these environments.
i tried miniz lacks (dunno why) definitions functions inflatereset, found no solution loading pngs alternatively under windows phone 8 native c++ code (you can use wic on windows 8 library doesn't exist arm builds).
there's : https://github.com/doo/zip-winrt uses managed classes , useful if want extract zip files. previous libz dependent code won't compile , need libpng compile basically.
please not comment if don't know these flags mean
"windows store app support"
"consume windows runtime extension"
the "of(args)" macro in zconf.h writes set of function parameters. should able rid of them defining macro of(args) (). send definition in via compile command, makefile or whatever, or manually edit zconf.h , put
#define of(args) () right before
#ifndef of /* function prototypes */
Comments
Post a Comment