hpple : 'libxml/tree.h' file not found
Question
When I use hpple and build, aways show " 'libxml/tree.h' file not found " error.
I have , set [Header Search Path] "${SDKROOT}/usr/include/libxml2" set [Other Linker Flag] value as "-lxml2"
Solution
Oh, sorry, I just set the TARGETS's Build Settings forgot set the PROJECT -->Build Settings.
OTHER TIPS
Step 1: Target--> In Build settings-->Header search path-->press return(enter) key--->replace /usr/include/libxml2
Step 2: Target--> In Build phase--> confirm it whether "libxml2.dylib"
framework is present, if not added
Step 3: Target--> In Build phase--> search libxml2.dylib
then click add button
Refer Screenshot:
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow