I'm getting error when trying to compile DWM Window manager

When to do “make clean install” for DWM window manager this happens. Does anyone know what to do?

make clean install
rm -f dwm drw.o dwm.o util.o dwm-6.5.tar.gz
cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION="6.5" -DXINERAMA drw.c
drw.c:6:10: fatal error: X11/Xft/Xft.h: No such file or directory
6 | #include <X11/Xft/Xft.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:12: drw.o] Error 1

Install libXft-devel

I didn’t get that “Xft” was the key characters there. I guess it has been a while since I’ve seen dependency errors. I just installed libXft-devel and then libXinerama-devel and it built fine now. Thank You.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.