hpple:“libxml/tree.h”找不到文件
当我使用 hpple 并构建时,aways 显示“'libxml/tree.h'文件未找到”错误。
我有 , 设置[标头搜索路径]“${SDKROOT}/usr/include/libxml2” 将[其他链接器标志]值设置为“-lxml2”
When I use hpple and build, aways show " 'libxml/tree.h' file not found " error.
I have ,
set [Header Search Path] "${SDKROOT}/usr/include/libxml2"
set [Other Linker Flag] value as "-lxml2"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
哦,抱歉,我刚刚设置了 TARGETS 的构建设置,忘记设置项目 --> 构建设置。
Oh, sorry, I just set the TARGETS's Build Settings forgot set the PROJECT -->Build Settings.
第1步:目标-->在构建设置中-->标题搜索路径-->按回车键-->替换
/usr/include/libxml2
步骤2:目标-->在构建阶段-->确认
"libxml2.dylib"
框架是否存在,如果没有添加第3步:目标-->在构建阶段-->搜索
libxml2.dylib
然后单击添加按钮参考屏幕截图:
Step 1: Target--> In Build settings-->Header search path-->press return(enter) key--->replace
/usr/include/libxml2
Step 2: Target--> In Build phase--> confirm it whether
"libxml2.dylib"
framework is present, if not addedStep 3: Target--> In Build phase--> search
libxml2.dylib
then click add buttonRefer Screenshot: