robbiehanson / CocoaHTTPServer

A small, lightweight, embeddable HTTP server for Mac OS X or iOS applications
Other
5.59k stars 1.31k forks source link

'libxml/parser.h' file not found #134

Open showgood opened 9 years ago

showgood commented 9 years ago

I got this compiler error when trying to build the project.

After I add "$SDKROOT/usr/include/libxml2" to the "Header Search Paths", I got compiler error "CocoaHTTPServer/Extensions/WebDAV/DAVResponse.m:1:9: 'libxml/parser.h' file not found with include; use "quotes" instead"

I'm using Xcode 6, build for IOS 8.2

change2hao commented 9 years ago

add /usr/include/libxml2 to "Header Search Paths"

Shrutimittal91 commented 8 years ago

I tried /usr/include/libxml2 also after that i tried "$SDKROOT/usr/include/libxml2" i tried in both target as well as project still i am getiing libxml or libxmlsimu not found error. Please help me.

Shrutimittal91 commented 8 years ago

Hi, I tried that also. But still error is there

On Thu, Sep 24, 2015 at 1:22 PM, Tiny Tian notifications@github.com wrote:

have a try for add /usr/include/libxml2 to the "Header Search Paths" in Project which is above Targets, like this [image: qq20150924-1] https://cloud.githubusercontent.com/assets/2145205/10068101/3ed367cc-62d4-11e5-9469-a08fd2d27987.png

— Reply to this email directly or view it on GitHub https://github.com/robbiehanson/CocoaHTTPServer/issues/134#issuecomment-142844776 .

Thanks & Regards Shruti Mittal

hybridstyle commented 8 years ago

I'm meet same issue, how to solve it?

sindrilin commented 7 years ago

Same issue I met, event after I add "$SDKROOT/usr/include/libxml2" to the "Header Search Paths"

berchan commented 7 years ago

add /usr/include/libxml2 to "Header Search Paths" and add libxml2.tbd to "Link binary with Libraries"