/ 中存储网

Ubuntu安装X Window和libgtk2.0-dev1的方法及命令

2015-07-16 15:35:50 来源:中存储网

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