objective c - error: libxml/parser.h: No such file or directory -


i'm attempting use xml (chapter 10 in professional iphone , ipad database application programming), , i've run bit of trouble.

under header search paths in build settings have path:
/developer/platforms/iphoneos.platform/developer/sdks/iphoneos4.3.sdk/usr/include/libxml2/

that's fine , well, then:

#import <libxml/parser.h> #import <libxml/tree.h> error: libxml/parser.h: no such file or directory 

if flip imports:

#import <libxml/tree.h> #import <libxml/parser.h> error: libxml/tree.h: no such file or directory 

weird.

for have this:

#import <libxml/catalog.h> // dirty hack #import <libxml/parser.h> #import <libxml/tree.h> error: libxml/catalog.h: no such file or directory 

but that's no production app.

try changing header search path ${sdk_dir}/usr/include/libxml2.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -