Ubuntu安装X Window 和 libgtk2.0-dev1


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

相关内容