install gameboy retropie,but when make,fa fatal error appear
lgfx/common/x11_common.c:39:10: fatal error: X11/extensions/xf86vmode.h: No such file or directory
#include <X11/extensions/xf86vmode.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:213: obj-unix/release/gfx/common/x11_common.o] Error 1
可以用apt-file来寻找对应的包
apt-file search xf86vmode.h
得到结果
x11proto-xf86vidmode-dev: /usr/include/X11/extensions/xf86vmode.h
接着只要安装x11proto-xf86vidmode-dev这个包就可以了
sudo apt-get install x11proto-xf86vidmode-dev