views:

48

answers:

1

Hello developers,

I am new to iphone developmenet. I'm trying to load PNGs using libpng but I'm unable to add it to my project after trying so much. I've got following errors while adding libpng to my project. Plz help me how to get rid of these errors:

  • "_deflateReset", reference from...

  • "_inflateEnd", referenced from...

  • "_*inflate", referenced from...

  • "_deflate", referenced from...

  • "inflateInit", referenced from...

  • "_crc32", referenced from...

  • "deflateInit2", referenced from...

  • "_inflateReset", referenced from...

  • "_deflateEnd", referenced from...

Help me out please!

A: 

Those errors are link errors, not compile errors, right? I think those are symbols from zlib, not libpng.

EDIT TO ADD: try adding libz.dylib to the project.

JWWalker
Thanx! thanx alot JWWalker. I was trying to fix the problem from last 2 days and finally u understood the real problem and helped me out.U r gr8! =)
Gr8 Warrior