Re: How to include <libxml/tree.h> ?
Re: How to include <libxml/tree.h> ?
- Subject: Re: How to include <libxml/tree.h> ?
- From: William Turner <email@hidden>
- Date: Mon, 26 Dec 2005 12:45:15 -0500
sys/types.h is a valid path from /usr/include. libxml/tree.h is not a
valid path from /usr/include - it's a valid path from /usr/include/
libxml2.
On Dec 26, 2005, at 10:07 AM, D. Walsh wrote:
On Dec 26, 2005, at 09:52 , William Turner wrote:
I added /usr/include/libxml2 to the header search paths in my
project when I used that library. I know that fixes it, I don't
know if that's the only or best solution.
That makes it redundant, if /usr/include is in the search path it
will find libxml/tree.h.
If you think this is wrong then it wouldn't load sys/type.h files
because /usr/include/sys is not listed in the search path.
I suspect he's using an SDK that doesn't have the files or he's
deleted the /usr/include search path.
Wil
On Dec 26, 2005, at 9:26 AM, Theodore H. Smith wrote:
I've got some code that uses an include like this:
#include <libxml/tree.h>
How do I get this to compile? I tried dragging in the folder
from /usr/include/libxml2/libxml into my Xcode project (thus
creating a group in my project containing references to all the
files in this folder), but this didn't work. Xcode tells me that
it can't find tree.h
What's the correct technique for getting these sort of includes
to work? I need to map "libxml/" to "/usr/include/libxml2/libxml"
somehow?? But how?
-- Dale
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden