<libxml/tree.h> file not found
来源:互联网 发布:花生壳映射外网80端口 编辑:程序博客网 时间:2024/05/22 12:51
1 引入了系统文件,但是没有引入其静态库
2
<libxml/tree.h> file not found
有时候当我们打开别人的程序的时候或者升级了Xcode以后 会提示 上面的那个错误.首先是要检查是否引入了所需的dynamic library (libxml2.dylib).如果动态库已经引入那么这个问题就需要修改<libxml/tree.h>路径的位置...
在 Build Settings -> Header Search Paths里设置正确就没问题了,添加路径
- 注意该添加方法要比 直接写入 /usr/include/libxml2 靠谱
${SDKROOT}/usr/include/libxml2
然而我之前遇到的是修改了这个位置之后编译还是报这个错误,于是上网搜查了关于这个问题解决的文章,最终解决的办法是
- 原来对应的Xcode自动生成的Test Target的buildingSettings里还没有改过来,搞定!
注意:
${SDKROOT}/usr/include/libxml2 必须添加到第一行.
1 0
- 'libxml/tree.h' file not found
- libxml/tree.h file not found
- 'libxml/tree.h' file not found
- libxml/tree.h file not found
- 关于 libxml/tree.h' file not found
- 'libxml/tree.h' file not found
- 'libxml/tree.h' file not found
- 'libxml/tree.h' file not found
- libxml/tree.h' file not found
- libxml/tree.h file not found解决办法
- libxml/tree.h' file not found
- libxml/tree.h file not found:
- libxml/tree.h file not found
- libxml/tree.h file not found解决办法
- libxml/tree.h file not found
- libxml/tree.h file not found解决办法
- 'libxml/tree.h' file not found
- libxml/tree.h file not found
- word文档 pdf在线预览方案
- Openwrt之helloworld
- 面试问题
- echarts遇到的一些问题。
- Wifi 输入密码连接
- <libxml/tree.h> file not found
- LeetCode - 31. Next Permutation
- 关于Android Studio import时出现cannot find settings.jar错误
- Activiti工作流简单入门应用
- 关于javascript中apply()、call()和bind()方法
- 去掉vector里重复的数据
- Android 判断服务是否开启
- Wifi 搜索列表
- java之synchronized