Hello again!
I downloaded the source of tqt3 to build it but the build cancelled with the following error:
In file included from qximinputcontext.h:68, from qximinputcontext_x11.cpp:37: ../../../../include/private/qt_x11_p.h:154:14: fatal error: ft2build.h: No such file or directory 154 | # include <ft2build.h> | ^~~~~~~~~~~~
Do you know how to fix this? I installed the package libfreetype6-dev like some people suggested on the internet but that didn't help me so solve the problem.
Kind regards, Christoph
On Wednesday 27 of April 2022 13:23:59 Christoph Klassen wrote:
Hello again!
I downloaded the source of tqt3 to build it but the build cancelled with the following error:
In file included from qximinputcontext.h:68, from qximinputcontext_x11.cpp:37: ../../../../include/private/qt_x11_p.h:154:14: fatal error: ft2build.h: No such file or directory 154 | # include <ft2build.h>
| ^~~~~~~~~~~~
Do you know how to fix this? I installed the package libfreetype6-dev like some people suggested on the internet but that didn't help me so solve the problem.
Kind regards, Christoph
Hi Christoph,
do you build it as a deb package (ie using debian/rules) or by hand? You use configure option -I/usr/include/freetype2? Package libfreetype-dev is installed?
Cheers
On 4/27/22 13:41, Slávek Banko wrote:
do you build it as a deb package (ie using debian/rules) or by hand? You use configure option -I/usr/include/freetype2? Package libfreetype-dev is installed?
libfreetype-dev was installed already but I didn't use the option -I/usr/include/freetype2 before. When I did the error didn't appear anymore. Thanks for your (fast) help!
Kind regards, Christoph
Anno domini 2022 Wed, 27 Apr 13:23:59 +0200 Christoph Klassen scripsit:
Hello again!
I downloaded the source of tqt3 to build it but the build cancelled with the following error:
In file included from qximinputcontext.h:68, from qximinputcontext_x11.cpp:37: ../../../../include/private/qt_x11_p.h:154:14: fatal error: ft2build.h: No such file or directory 154 | # include <ft2build.h> | ^~~~~~~~~~~~
Do you know how to fix this? I installed the package libfreetype6-dev like some people suggested on the internet but that didn't help me so solve the problem.
$ apt-file search ft2build.h libfreetype-dev: /usr/include/freetype2/ft2build.h
Is libfreetype-dev installed?
Nik
Kind regards, Christoph
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...