Closed meliodas0n closed 1 year ago
type cp /usr/include/freetype2/* /usr/include
this should resolve the issue
I added "-I/usr/include/freetype2" to the Makefile to build it on Debian 11:
install:
gcc ragnar.c -o ragnar -I/usr/include/freetype2 -lX11 -lXcursor -lXft -O3 -ffast-math -Wall -Wextra
cp ragnar /usr/bin/ragnar
type cp /usr/include/freetype2/* /usr/include
this should resolve the issue
thanks, this has fixed the issue.
I am closing the issue
I am trying to install this on Ubuntu 23.04, I am getting the following error when doing "sudo make clean install"
~/Ragnar$ sudo make clean install rm -f ragnar rm -f /usr/bin/ragnar gcc ragnar.c -o ragnar -lX11 -lXcursor -lXft -O3 -ffast-math -Wall -Wextra In file included from ragnar.c:4: /usr/include/X11/Xft/Xft.h:40:10: fatal error: ft2build.h: No such file or directory 40 | #include
| ^
~~~ compilation terminated. make: *** [Makefile:2: install] Error 1The libfreetype dev package is already installed yet this is unable to load it. How can I resolve this ?