1、在ubuntu中,如果在编译时出现如下错误:
  错误:X11/Xlib.h:没有那个文件或目录
  错误:X11/Xutil.h:没有那个文件或目录
  错误:X11/Xos.h:没有那个文件或目录
  错误:X11/Xatom.h:没有那个文件或目录
  错误:X11/keysym.h:没有那个文件或目录
  修正的方法:
  $ sudo apt-get install libx11-dev

  错误: X11/xpm.h:没有该文件或目录
  修正的方法:
  $ sudo apt-get install libxpm-dev
  然后再从新编译即可

   摘自:http://hi.baidu.com/ever__love/blog/item/3abfcbd9d4a4846ad0164eb9.html

相关文章:

  • 2022-02-26
  • 2021-09-08
  • 2022-12-23
  • 2021-09-09
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-01
  • 2021-05-22
  • 2021-09-13
  • 2021-08-13
  • 2021-05-31
  • 2021-10-07
  • 2021-10-14
相关资源
相似解决方案