Hpple: File libxml / tree.h not found

When I use hpple and build, aways shows the error "libxml / tree.h" file not found ".

I have, set [Header Search Path] "$ {SDKROOT} / usr / include / libxml2" set the value of [Other Linker Flag] to "-lxml2"

+4
source share
2 answers

Oh, sorry, I just found that TARGETS Build Settings forgot to set PROJECT -> Build Settings.

+6
source

Step 1: Goal → In the build settings → Header search path → press return key (enter) ---> replace /usr/include/libxml2

Step 2: Goal -> In the build phase -> confirm if the "libxml2.dylib" framework "libxml2.dylib" if it is not added

Step 3: Goal -> In the build phase -> search for libxml2.dylib , then click the add button

Pay attention to the screenshot:

enter image description here

+2
source

Source: https://habr.com/ru/post/1385824/


All Articles