我正在尝试构建bspwm,我如何获得这种依赖呢?我已经安装了xcb。我在Ubuntu 21.04上,错误消息是
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
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [: bspwm.o] Error 1发布于 2021-08-22 04:23:30
通常,我使用以下方式在所有存储库中搜索文件:
$ 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或者使用在线搜索 at packages.ubuntu.com。
https://askubuntu.com/questions/1359378
复制相似问题