[英]How to find X11/extensions/XTest.h
我正在使用ubuntu 10.10,当我编译remoting/host/event_executor_linux.cc:9: fatal error: X11/extensions/XTest.h: No such file or directory
时,它说remoting/host/event_executor_linux.cc:9: fatal error: X11/extensions/XTest.h: No such file or directory
但我已经安装了libx11-dev:
$ sudo apt-get install libx11-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libx11-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
请告诉我如何解决我的问题。
谢谢。
安装libxtst-dev
软件包,您就可以编译Chromium源代码了。
要查找包含文件( X11/extensions/XTest.h
)所属的包,请安装apt-file
并搜索它,例如:
$ sudo apt-get install apt-file
$ sudo apt-file update
$ apt-file search "X11/extensions/XTest.h"
libxtst-dev: /usr/include/X11/extensions/XTest.h
获得包名后,请通过以下方式安装:
sudo apt-get install libxtst-dev
当有更多类似的依赖关系时,此方法特别有用,因此您不必猜测。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.