现在的位置: 首页 > 综合 > 正文

fatal error: X11/Xlib.h: No such file or directory

2017年03月02日 ⁄ 综合 ⁄ 共 251字 ⁄ 字号 评论关闭

x11没有安装完整,于是先输入:sudo apt-cache search x11-dev

libx11-dev - X11 client-side library (development headers)
libxkbcommon-x11-dev - library to create keymaps with the XKB X11 protocol - development files
libghc-x11-dev - Haskell X11 binding for GHC

输入:sudo apt-get install libghc-x11-dev即可

抱歉!评论已关闭.