Error with gzipInflate / gzipDeflate

I am developing an Iphone application on Xcode 4.0. I have to format the HTML file and put it in the Txt view. I am trying to use TBXML, but I have 6 errors when debugging:

Undefined symbols for architecture i386: "_deflateInit2_", referenced from: -[NSData(NSDataAdditions) gzipDeflate] in NSDataAdditions.o "_deflate", referenced from: -[NSData(NSDataAdditions) gzipDeflate] in NSDataAdditions.o "_deflateEnd", referenced from: -[NSData(NSDataAdditions) gzipDeflate] in NSDataAdditions.o "_inflateInit2_", referenced from: -[NSData(NSDataAdditions) gzipInflate] in NSDataAdditions.o "_inflate", referenced from: -[NSData(NSDataAdditions) gzipInflate] in NSDataAdditions.o "_inflateEnd", referenced from: -[NSData(NSDataAdditions) gzipInflate] in NSDataAdditions.o ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status

Something with the gZip library, I think ... If someone knows the problem, to fix this or another good / complete XMLParse library, answer me: D

PS: If it was difficult for you to read, I regret my English ...

+5
source share
1 answer

This type of error means that you did not enable the library or framework.

The quick google deflateInit2 tells me that this is the libz framework.

libz.dylib , .

, .

+27

All Articles