当前位置: 代码迷 >> 综合 >> LINUX编译xcb/xcb-proto
  详细解决方案

LINUX编译xcb/xcb-proto

热度:7   发布时间:2023-12-11 17:58:25.0
  • 下载

https://xorg.freedesktop.org/archive/individual/xcb/xcb-proto-1.13.tar.bz2
https://xorg.freedesktop.org/archive/individual/xcb/libxcb-1.13.tar.bz2

  • 依赖库
sudo apt install libxau-dev libpthread-stubs0-dev
  • 编译

先编译xcb,再编译libxcb。

使用同一个脚本:

BUILD_LIBS=${HOME}/build_libsexport PATH=${BUILD_LIBS}/bin:${PATH}
export PKG_COINFIG_PATH=${BUILD_LIBS}/lib/pkgconfig./autogen.sh./configure \--prefix=${BUILD_LIBS} \CFLAGS="-I${BUILD_LIBS}/include" \LDFLAGS="-L${BUILD_LIBS}/lib"makemake install

报错:

https://blog.csdn.net/quantum7/article/details/104683284