|
|
On 4/15/24 14:25 'Albrecht Schlosser' wrote:
On 4/15/24 08:13 TwoTrees Innerworld wrote:
I installed 1.4.x without issue but still no joy.
The fonts demo does not change when I select different
fonts.
The log file is attached.
Sorry, this is not what I meant - although it may contain all
info, but it's way too verbose to be helpful.
Meanwhile I found at least one important info in your log:
configure:8835: result: no
configure:8835: checking for X11/Xft/Xft.h
configure:8835: result: no
configure:8893: WARNING: could not find the required Xft headers and/or libraries.
configure:8895: please install Xft headers and libraries or use 'configure --disable-xft'.
configure:9146: checking for X11/extensions/Xfixes.h
configure:9146: gcc -c -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 conftest.c >&5
conftest.c:57:10: fatal error: X11/extensions/Xfixes.h: No such file or directory
57 | #include <X11/extensions/Xfixes.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
This means that you did NOT (successfully) install all
prerequisites, at least Xft is missing. We would have seen this in
the original configure output because it would have issued this
message:
WARNING: could not find the required Xft headers and/or libraries.
please install Xft headers and libraries or use 'configure --disable-xft'.
Having Xft development headers (and libs) installed is essential for
correct font handling!
Maybe you missed updating your apt sources, or something else went
awry when you tried to install the prerequisites as you told us.
Please run the following commands to correct this. Take care if
there are any obvious error messages (except progress output):
sudo apt-get update # this is important before you install
anything!
Then install (or reinstall) everything that's listed in
README.Unix.txt, except maybe (a) git
and (b) cmake which are optional if
you (a) use a downloaded tarball/snapshot and (b) use configure/make rather than CMake to build
- as I wrote in my basic instructions earlier:
sudo apt-get install g++
sudo apt-get install gdb
sudo apt-get install git # OPTIONAL: to download FLTK from Git
sudo apt-get install make
sudo apt-get install cmake # OPTIONAL: install CMake...
sudo apt-get install autoconf # ...or autoconf (or both)
sudo apt-get install libx11-dev
sudo apt-get install libglu1-mesa-dev
sudo apt-get install libxft-dev
sudo apt-get install libxcursor-dev
Please check that there are no error messages. If you are not sure,
please capture the output in a text file and post it here.
After that, please rerun autoconf, ./configure and build (make),
save the output, post it here, etc..
Hopefully this will enable correct font handling.
FYI: I tested on my own RPi 3 with a much older Raspbian version successfully:
$ cat /etc/issue.net; uname -a; g++ --version
Raspbian GNU/Linux 10
Linux raspi3 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
g++ (Raspbian 8.3.0-6+rpi1) 8.3.0
--
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/6da36a67-ae2f-495c-b2de-3860031c9ab5%40aljus.de.
[ Direct Link to Message ] | |
|
| |