windows runtime - Compile Zlib for C++/CX -


after hours of trying , searching failed.

i have asked here in comments , confirmed possible build zlib c++/cx. couldn't figure out how it.

here did:

i downloaded zlib source. give me errors when compiling.

i followed this instruction code compiled, , this instructions put header files external dependencies.

but gives me error:

error lnk2019: unresolved external symbol _inflate referenced in function ... 

basically errors function calls zlib.

i figured perhaps lib compiled not windows store app? tried change windows store app support yes in zlib compiled. failed!

here error got:

severity    code    description project file    line    suppression state error   msb3843 project "zlib" targets platform "windows", references sdk "visual c++ 2015 runtime universal windows platform apps v14.0" targets platform "uap". zlib    c:\program files (x86)\msbuild\14.0\bin\microsoft.common.currentversion.targets 2048     

what should do?


Comments