天天看点

fatal error: xcb/xcb.h: 没有那个文件或目录

  • 错误

编译ffmpeg时,报错:

libavdevice/xcbgrab.c:25:10: fatal error: xcb/xcb.h: 没有那个文件或目录
 #include <xcb/xcb.h>
          ^~~~~~~~~~~
compilation terminated.      
  • 编译xcb
https://blog.csdn.net/quantum7/article/details/104502915

修改ffbuild/common.h

IFLAGS     := -I/home/quantum6/lib-build/include/SDL2 -I/home/quantum6/lib-build/include -I. -I$(SRC_LINK)/      

继续阅读