[dev] [dwm] compile error
[sudo] password for Orka: cleaning dwm build options: CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION="6.1" -DXINERAMA LDFLAGS = -s -L/usr/X11R6/lib -lX11 -lXinerama -lfontconfig -lXft CC = cc CC drw.c In file included from drw.c:6:0: /usr/include/X11/Xft/Xft.h:39:22: fatal error: ft2build.h: Aucun fichier ou dossier de ce type #include ^ compilation terminated. Makefile:18: recipe for target 'drw.o' failed make: *** [drw.o] Error 1 Orka@Sony-Vaio:~/Documents/dwm-6.1$ -- i don't know what i do !?
Re: [dev] [dwm] compile error
all ready installed but no change ? isn't an utf-8 pb ?? --- Le 2016-08-21 18:34, Ali H. Fardan a écrit : On 2016-08-21 19:35, Reimundo Heluani wrote: On Aug 21, Ali H. Fardan wrote: If you could translate the compiler error I'd appreciate it Raiz It's a "not such file or directory" error, it's not finding the headers ft2build.h R Well, you answered it, ft2build.h header is missing, if you're on debian, run: # apt-get install libfreetype6-dev otherwise, find the appropriate package for your distribution. Raiz
Re: [dev] [dwm] compile error
dwm-6.1$ ls -l /usr/include/freetype2/ft2build.h -rw-r--r-- 1 root root 2383 oct. 5 2015 /usr/include/freetype2/ft2build.h --- Le 2016-08-21 19:42, Draco Metallium a écrit : all ready installed but no change ? Check if 'ft2build.h' is truly installed with find or locate. isn't an utf-8 pb ?? Also, what do you mean with "an utf-8 pb"?
Re: [dev] [dwm] compile error
where ?? --- Le 2016-08-21 20:02, Draco Metallium a écrit : On 21 August 2016 at 14:48, Orka Edison wrote: dwm-6.1$ ls -l /usr/include/freetype2/ft2build.h -rw-r--r-- 1 root root 2383 oct. 5 2015 /usr/include/freetype2/ft2build.h Try this: replace "#include " with "#include "
Re: [dev] [dwm] compile error
X11INC = /usr/include/ X11LIB = /usr/include/lib under config.mk, not X11R6/... --- Le 2016-08-21 20:12, Orka Edison a écrit : where ?? --- Le 2016-08-21 20:02, Draco Metallium a écrit : On 21 August 2016 at 14:48, Orka Edison wrote: dwm-6.1$ ls -l /usr/include/freetype2/ft2build.h -rw-r--r-- 1 root root 2383 oct. 5 2015 /usr/include/freetype2/ft2build.h Try this: replace "#include " with "#include "