I have added libxml2 to my Xcode 4 project following this guide.
But it's not working. Xcode gives me error saying it no such libxml2 directory. What am I doing wrong? Here's the screenshots of the target settings of my project:
Thanks.
#include <libxml/HTMLparser.h>
and you're offfor better explanation see to this answer https://stackoverflow.com/a/3429301/149663
Do the following steps,
Thats all.
You need to change Always Search User Paths
to YES also.
That with "${SDK_DIR}/usr/include/libxml2" on your User header search paths
should work.
In "Other flags" add -lxml2 And also change the Header to ${SDKROOT}/usr/include/libxml2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With