docs谈到一个名为input.h的文件,该文件似乎没有出现在任何包中,至少是根据:

apt-file search /usr/include/xcb/xinput.h

我需要这个,因为我试图使用函数xcb_input_open_device
我做错什么了?

最佳答案

似乎XInput扩展在默认情况下被禁用,因为它还不够稳定;因此没有打包到Debian中。
configure脚本中:

--enable-xinput         Build XCB XInput Extension (default: "no")

关于c - Debian Squeeze/Wheezy中缺少XCB header ,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/10881682/

10-13 06:52