引入:
将MAC升级到Lion,因此xCode也升级到4.3.1的版本,但原来能编译的工程却报错了,错误信息如下所示:libxml/tree.h file not found
意思是说:libxml/tree.h文件没找到,那怎样解决这个问题呢?在网上查到,解决方案如下:
解决方案:
ProjectàTARGETS àBuild Settings
将’Header Search Path’的值又原来的:’ /usr/include/libxml2’修改为:
‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/libxml2’
即可。
libxml/tree.h file not found
猜你喜欢
转载自pskfire.iteye.com/blog/1677175
今日推荐
周排行