iphone - 西奥斯 libxml2 : No such file or directory

标签 iphone jailbreak dylib tweak theos

我正在使用theos编写一个调整并需要使用 libxml2。我添加了 LDFLAGS,如下所示:

widget_INSTALL_PATH = /Library/WeeLoader/Plugins/
widget_FRAMEWORKS = UIKit CoreGraphics
widget_LDFLAGS = -lxml2

我的xxx.m中的代码

#import "BBWeeAppController-Protocol.h"
#import <libxml/HTMLparser.h>

比make,错误:

error: libxml/HTMLparser.h: No such file or directory

在xcode中需要设置'头搜索路径' -> $SDKROOT/usr/include/libxml2,但是在“theos”中怎么办?

最佳答案

我相信您需要使用 CFLAGS。 如果您还没有查看 Theos Makefile 页面 http://uv.howett.net/ipf.html

关于iphone - 西奥斯 libxml2 : No such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14699409/

相关文章:

macos - 是否可以相对地使用 clang++ 链接 dylib 而不使用 install_name_tool?

c++ - 从 Qt Creator 运行的应用程序使用的库与其单独运行时不同

iphone - 以编程方式从 iPhone 向 WordPress 博客发表评论

jquery - 在 mobilesafari 中重新排序项目

ios - 钛合金中不调用手势(方向)事件

ios - 应用内购买错误 "This is not a Test User account"

ios - 您可以使用私有(private) API Hook iOS 中的系统函数调用吗?

ios - iphone 以编程方式重启

iphone - 如何从 coredata 中读取 NSData

python - 在 OSX 10.6 上导入 Python Sybase 模块时出现 undefined symbol