[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GNUSetup objective-c , can't find libxml/tree.h file not found
From: |
umen |
Subject: |
GNUSetup objective-c , can't find libxml/tree.h file not found |
Date: |
Sun, 13 Jan 2013 21:22:46 -0800 (PST) |
i trying to use libxml2 in GNUsetup in windows using objective-C
compiling with clang.
it keeps giving me the error:
$ make CC=clang
This is gnustep-make 2.6.2. Type 'make print-gnustep-make-help' for
help.
Making all for tool sample_app...
Compiling file HtmlParser.m ...
In file included from HtmlParser.m:1:
./HtmlParser.h:2:9: fatal error: 'libxml/tree.h' file not found
#import <libxml/tree.h>
^
1 error generated.
make[3]: *** [obj/sample_app.obj/HtmlParser.m.o] Error 1
make[2]: *** [internal-tool-all_] Error 2
make[1]: *** [sample_app.all.tool.variables] Error 2
make: *** [internal-all] Error 2
the files do existe in :c:\GNUstep\include\libxml2\libxml\
this is my GNUsetup file which compiles the files
include $(GNUSTEP_MAKEFILES)/common.make
TOOL_NAME = sample_app
sample_app_HEADERS = HttpManager.h UT.h HtmlParser.h
sample_app_OBJC_FILES = main.m HttpManager.m UT.m HtmlParser.m
sample_app_RESOURCE_FILES =
include $(GNUSTEP_MAKEFILES)/tool.make
and this is my file that include the libxml2 headers
#import <Foundation/Foundation.h>
#import <libxml/tree.h>
#import <libxml/parser.h>
#import <libxml/HTMLparser.h>
#import <libxml/xpath.h>
#import <libxml/xpathInternals.h>
@interface HtmlParser
{
NSString* encoding;
}
-(id)init
{
self = [super init];
if(self) {
encoding = @"UTF-8";
}
return self;
}
-(void)ExtractInnerSiteLinks:(NSString*) PageHtml:(NSString*) url;
@end
--
View this message in context:
http://gnustep.8.n7.nabble.com/GNUSetup-objective-c-can-t-find-libxml-tree-h-file-not-found-tp32352.html
Sent from the GNUstep - General mailing list archive at Nabble.com.
- GNUSetup objective-c , can't find libxml/tree.h file not found,
umen <=