1

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
6

1 Answer 1

5

Usually I use the followying way to search a file in all entire repositories:

$ sudo apt install apt-file
$ sudo apt-file update
$ apt-file search xcb/xcb_icccm.h
libxcb-icccm4-dev: /usr/include/xcb/xcb_icccm.h

Or use online search at packages.ubuntu.com.

Not the answer you're looking for? Browse other questions tagged .