使用ASIHTTPRequest xcode编译提示找不到"libxml/HTMLparser.h",解决方法如下:
1>.在xcode中左边选中项目的root节点,在中间编辑区的搜索框中输入"header search paths",
双击Header Search Paths项,点击加号增加一项并输入"${SDK_DIR}/usr/include/libxml2",
点击done按钮结束.
[img]http://dl.iteye.com/upload/attachment/0084/1645/19ff26a2-ccdb-35bc-8f57-a9057186dd9c.png[/img]
2>.再次在搜索框中输入"other linker flags",双击Other Linker Flags项,点击加号增加一项并输入"-lxml2",点击done按钮结束.
[img]http://dl.iteye.com/upload/attachment/0084/1645/19ff26a2-ccdb-35bc-8f57-a9057186dd9c.png[/img]
[/img]
转载自:http://blog.youkuaiyun.com/iangelfalls/article/details/7102844
1>.在xcode中左边选中项目的root节点,在中间编辑区的搜索框中输入"header search paths",
双击Header Search Paths项,点击加号增加一项并输入"${SDK_DIR}/usr/include/libxml2",
点击done按钮结束.
[img]http://dl.iteye.com/upload/attachment/0084/1645/19ff26a2-ccdb-35bc-8f57-a9057186dd9c.png[/img]
2>.再次在搜索框中输入"other linker flags",双击Other Linker Flags项,点击加号增加一项并输入"-lxml2",点击done按钮结束.
[img]http://dl.iteye.com/upload/attachment/0084/1645/19ff26a2-ccdb-35bc-8f57-a9057186dd9c.png[/img]
[/img]
转载自:http://blog.youkuaiyun.com/iangelfalls/article/details/7102844