交叉編譯xcb-proto,下載地址https://xcb.freedesktop.org/dist/linux
使用的是1.6版本spa
CC=arm-none-linux-gnueabi-gcc CXX=arm-none-linux-gnueabi-g++ ./configure --prefix=/home/huey/Dev/Arm/xcb-proto --host=arm-linux make make install
export PKG_CONFIG_PATH=/home/huey/Dev/Arm/xcb-proto/lib/pkgconfig
下載地址 https://xcb.freedesktop.org/dist/.net
使用的是 1.5版本,該版本要求xcb-proto 版本大於1.5 ,而且要求x11支持code
CC=arm-none-linux-gnueabi-gcc CXX=arm-none-linux-gnueabi-g++ ./configure --prefix=/home/huey/Dev/Arm/xcb --host=arm-linux
make make install
sudo apt-get install xsltproc
須要交叉編譯x11get
也能夠從網上找一個現成的 http://download.csdn.net/detail/cloudjx/9884034編譯
而後在configure時加上gcc
CPPFLAGS="-I/home/huey/Dev/Arm/x11/include" LDFLAGS="-L/home/huey/Dev/Arm/x11/lib"