tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Xft.h: No such file or directory
Hello adr,
adr%SDF.ORG@localhost writes:
> [...]
> If I don't add the CFLAG "-I${X11BASE}/include/X11", then
> [...]
> cc -O2 -mfpu=neon -D_FORTIFY_SOURCE=2 -I/usr/pkg/include
> -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2
> -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DUSE_XMIM -DPNG_NO_ASSEMBLER_CODE
> -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include
> -I/usr/X11R7/include/freetype2 -c fontsel.c
> fontsel.c:29:10: fatal error: Xft/Xft.h: No such file or directory
> #include <Xft/Xft.h>
> ^~~~~~~~~~~
> compilation terminated.
> *** Error code 1
>
That's probably the problem: according Xft(3) it should be included
via:
#include <X11/Xft/Xft.h>
(not <Xft/Xft.h>).
So fontsel.c (and any other files if they do something similar)
should be patched.
Home |
Main Index |
Thread Index |
Old Index