Bug 967 - fontconfig/xft inclusions in font.c
Status: CLOSED WORKSFORME
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: 3.0-rc4
Hardware: PC Linux
: P2 normal
Assignee: Dana Jansens
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2003-10-21 16:13 EDT by Adam Katz
Modified: 2003-10-27 15:36:51 EST
0 users

See Also:



Description Adam Katz 2003-10-21 16:13:48 EDT
i'm on a mostly-upgraded redhat 7.3 -> 8.0 machine.
compiling with gcc 2.96 on kernel 2.4.20.
fontconfig-2.2.1-4
freetype-2.1.2-7

problem:
for font.c, the compiler could not find the FcBlah types 
(supposed to be in X11/Xft/Xft.h).

fix: i used a different header file.
  /* #include <X11/Xft/Xft.h> */
  #include <fontconfig/fontconfig.h>


should also note that i had to upgrade to freetype-2.1.4-5
due to a linking problem:
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libfontconfig.so: undefined
reference to `FT_Get_BDF_Property'
Comment 1 Dana Jansens 2003-10-25 15:29:08 EDT
Sounds like you XFT install is just out of date, or you are using the Xft1 header.