I am trying to build bspwm, how do I get that dependency? I already have xcb installed. I'm on Ubuntu 21.04, the error message is
cc -std=c99 -pedantic -Wall -Wextra -DJSMN_STRICT -D_POSIX_C_SOURCE=200809L -DVERSION=\"0.9.10-33-ge22d0fa\" -c -o bspwm.o src/bspwm.c
In file included from src/bspwm.c:39:
src/types.h:29:10: fatal error: xcb/xcb_icccm.h: No such file or directory
29 | #include <xcb/xcb_icccm.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: bspwm.o] Error 1
libxcb-icccm4-dev
, since it is the package that contains the file – steeldriver Aug 22 '21 at 00:16dpkg -S
only searches packages that are already installed on your system - for files you don't have, you need to use the online package search or install and useapt-file
. In this case, it looks like you needlibxcb-randr0-dev
– steeldriver Aug 22 '21 at 00:57