如果用gmake无法进行编译,用make。 如果在编译过程中出现 (致命错误): X11/Xlib.h:没有那个文件或目录 是缺少对应的库 用命令 sudo apt-get install libx11-dev 就可以解决了