Ubuntu下安装OpenGL开发环境报错
发表于 : 2015-04-12 9:44
大家好,我在ubuntu下安装OpenGL提示下面错误:
sudo apt-get install mesa-common-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mesa-common-dev : Depends: libx11-dev but it is not going to be installed
Depends: libdrm-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
看提示好像是依赖libx-11,但是去apt-get install libx11-dev又会出现类似错误,刚开始xuexi,不太明白,多谢大神指教
sudo apt-get install mesa-common-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mesa-common-dev : Depends: libx11-dev but it is not going to be installed
Depends: libdrm-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
看提示好像是依赖libx-11,但是去apt-get install libx11-dev又会出现类似错误,刚开始xuexi,不太明白,多谢大神指教