Theos libxml2: No such file or directory

I am using theos write settings and need to use libxml2. I added LDFLAGS like this:

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

      

code in my xxx.m

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

      

than make, the error is:

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

      

in xcode need to set "header search path" -> $ SDKROOT / usr / include / libxml2, but how to do it in theos "?

+3


source to share


1 answer


I believe you need to use CFLAGS. If you haven't taken a look at Theos Makefile page yet http://uv.howett.net/ipf.html



+2


source







All Articles