hpple:“libxml/tree.h”找不到文件

发布于 2024-12-20 20:16:14 字数 136 浏览 2 评论 0原文

当我使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

莫多说 2024-12-27 20:16:14

哦,抱歉,我刚刚设置了 TARGETS 的构建设置,忘记设置项目 --> 构建设置。

Oh, sorry, I just set the TARGETS's Build Settings forgot set the PROJECT -->Build Settings.

嗳卜坏 2024-12-27 20:16:14

第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 added

Step 3: Target--> In Build phase--> search libxml2.dylib then click add button

Refer Screenshot:

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文