Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/44.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/blackberry/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone theos libxml2:没有这样的文件或目录_Iphone_Jailbreak_Dylib_Tweak_Theos - Fatal编程技术网

Iphone theos libxml2:没有这样的文件或目录

Iphone theos libxml2:没有这样的文件或目录,iphone,jailbreak,dylib,tweak,theos,Iphone,Jailbreak,Dylib,Tweak,Theos,我正在编写一个调整,需要使用libxml2。我已经添加了如下标志: widget_INSTALL_PATH = /Library/WeeLoader/Plugins/ widget_FRAMEWORKS = UIKit CoreGraphics widget_LDFLAGS = -lxml2 我的xxx.m中的代码 #import "BBWeeAppController-Protocol.h" #import <libxml/HTMLparser.h> 在xcode中需要设置“h

我正在编写一个调整,需要使用libxml2。我已经添加了如下标志:

widget_INSTALL_PATH = /Library/WeeLoader/Plugins/
widget_FRAMEWORKS = UIKit CoreGraphics
widget_LDFLAGS = -lxml2
我的xxx.m中的代码

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

在xcode中需要设置“header search path”->$SDKROOT/usr/include/libxml2,但在“”中如何操作?

我相信您需要使用CFLAGS。
如果您还没有查看Theos Makefile页面

谢谢。LDFLAGS是必需的。因此代码示例:
widget\u LDFLAGS=-lxml2 widget\u CFLAGS=-I$(SYSROOT)/usr/include/libxml2
error: libxml/HTMLparser.h: No such file or directory