tags:

views:

80

answers:

2

I have imported the pdf.h file in my view controller class and tried calling NSString *outPutString = convertPDF(pathToPdfFile), but while building it gives me linking error:

"_convertPDF" refrenced from: -[ScriptViewController searchBarSearchButtonClicked:] in ScriptViewController.o Symbol(s) not found

I have also included libz.dylib in my project. What am I doing wrong? Is there any step to be followed before building the project which includes c code? Also one more question: Will this search algorithm work on any PDF(simple and formatted pdfs).

A: 

I have the same problem! nobody can fix it?

A: 

What if you change the name of the .m file that calls pdf.h to xxxx.mm ? It's a c++ file. I tested it and found out it works only with simple ascii pdfs.

nkmrtsyk