On Sun, 26 Oct 2003, Tyler Retzlaff wrote:

>Just a quick sanity check to see if I've hosed my X11 headers.  If I want to
>use Xft.h <X11/Xft/Xft.h> must I add -I /usr/X11R6/include/X11/freetype2 for
>the freetype/freetype.h?  Or should it be unnecessary?
>
>Just for some background I'm seeing this:
>
>/usr/X11R6/include/X11/Xft/Xft.h:35
>:31: freetype/freetype.h: No such file or directory
>
>Where freetype/freetype.h is actually in X11/freetype2 not X11/.

Always use pkg-config to locate a given library's headers, lib 
locations, etc. if possible.

Freetype supports pkg-config, so as long as your freetype has 
installed the pkg-config metadata properly, pkg-config will give 
you the information you need.

Hope this helps.


-- 
Mike A. Harris

_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to