x11/extensions/xrandr.h:No such file or directory解决办法 我的环境是centos6.9,然后如下解决了: yum install libXrandr-devel