libz

Problem linking with libpng & zlib

Hi, I'm trying to compile a project that uses both libjpeg and libpng. I know that libpng needs zlib, so I compiled all the three independently and put them (libjpeg.a, libpng.a and libz.a) on a folder called linrel32. What I execude then is: g++ -Llinrel32/ program.cpp otherfile.cpp -o linrel32/executable -Izlib/ -Ilpng140/ -Ijpeg/ -lp...

RAR Decompress on iPhone Device

Has anyone found a solution to decompressing RAR files on iPhone (not Jailbroken)? It would be great if there was a library similar to libz. I did not find anything official from RARlab. Anyone successful with integrating unRAR into their app? The source code appears to be C++? I know that this has been asked before, but I've not see...

How to use libz.dylib to unzip zip file?

Hi in my program i have to unzip downloaded file ... i read libz.dylib is used for that but i didn't find any documentation or examples how to do that..? any one know this... Thanks in advance.... ...

PAK archives and zlib (zlib.dylib)

Hi All, I'm currently writing an iPhone app where I need to uncompress several files from .pak archive. I'm assuming libz.dylib will probably have the ability to do this but I'm having a hard time find any code on the subject. Anyone got any example code or can point me in the right direction? Any help at all would be much appreciated...