FLTK logo

[fltk.general] Re: WARNING: could not find the required Xft headers and/or libraries

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: WARNING: could not find the required Xft headers and/or libraries "David F." Jun 28, 2022  
 
You can get around one issue with:

ln -s /usr/bin/pkg-config /usr/bin/freetype-config

Now I'm getting:

/usr/include/X11/Xft/Xft.h:39:10: fatal error: ft2build.h: No such file or directory

But the libfreetype6-dev is already installed too which I guess is where ft2build.h comes from?

On Tuesday, June 28, 2022 at 4:16:36 PM UTC-7 David F. wrote:
Hello,

I upgraded from Debian Jessie to Buster.  I'm using a customized 1.4 branch.  I rebuilt the library and built my application.  I noticed scaling wasn't working.  So I see something about needing USE_XFT for it to work.   I then changed the config.log and found the:

WARNING: could not find the required Xft headers and/or libraries

configure:7725: checking for freetype-config
configure:7758: result: no
configure:7867: WARNING: could not find the required Xft headers and/or libraries.
configure:7869: please install Xft headers and libraries or use 'configure --disable-xft'.
configure:8017: checking for X11/extensions/Xdbe.h
configure:8017: gcc -c    conftest.c >&5
configure:8017: $? = 0
configure:8017: result: yes


So I tried:  apt-get install libxft-dev  (said already installed, so uninstall then install again).

But it still says the Xft headers and/or libraries don't exist.

While in the log built with Jessie I see:

configure:7536: checking for freetype-config
configure:7554: found /usr/bin/freetype-config
configure:7566: result: /usr/bin/freetype-config
configure:7579: checking for FcPatternCreate in -lfontconfig
configure:7604: gcc -o conftest   -I/usr/include/freetype2    conftest.c -lfontconfig  -lXinerama -lpthread -ldl -lm  -lX11  >&5
configure:7604: $? = 0
configure:7613: result: yes
configure:7624: checking X11/Xft/Xft.h usability
configure:7624: gcc -c   -I/usr/include/freetype2  conftest.c >&5
configure:7624: $? = 0
configure:7624: result: yes
configure:7624: checking X11/Xft/Xft.h presence
configure:7624: gcc -E -I/usr/include/freetype2  conftest.c
configure:7624: $? = 0
configure:7624: result: yes
configure:7624: checking for X11/Xft/Xft.h
configure:7624: result: yes

Any hint on what I'm supposed to install so scaling will work again?

Thanks!!

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/bea658a5-d614-4a53-b2b2-221d6d97c8aan%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.