ubuntu安装SDL报x11安装错误解决办法

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

安装libx11-dev包

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

安装x11proto-xext-dev和libxext-dev

3 error: X11/extensions/XInput.h: No such file or directory

$sudo apt-get install libxi-dev

你可能感兴趣的:(ubuntu安装SDL报x11安装错误解决办法)