Ubuntu安装X Window 和 libgtk2.0

Ubuntu安装具有调试功能的Bochs时出现如下错误:

1. 虚拟机Bochs安装

(1) 出现“ERROR: X windows gui was selected, but X windows libraries were not found.”

解决办法:sudo apt-get install libx11-dev xserver-xorg-dev xorg-dev

(2) 出现“ERROR: pkg-config was not found, or unable to access the gtk+-2.0 package. Install pkg-config and the gtk+ development package, or disable the gui debugger, or the wxWidgets display library (whichever is being used).”

ERROR: pkg-config was not found, or unable to access the gtk+-2.0 package.Install pkg-config and the gtk+ development package,or disable the gui debugger, or the wxWidgets display library (whichever is being used)

解决办法:sudo apt-get install libgtk2.0-dev

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/22473.html