当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : Ubuntu下安装OpenGL开发环境报错
帖子发表于 : 2015-04-12 9:44 

注册: 2012-01-03 20:52
帖子: 6
送出感谢: 0 次
接收感谢: 0 次
大家好,我在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,不太明白,多谢大神指教


页首
 用户资料  
 
2 楼 
 文章标题 : Re: Ubuntu下安装OpenGL开发环境报错
帖子发表于 : 2015-04-12 9:49 
头像

注册: 2010-08-02 8:19
帖子: 304
系统: windows7旗舰版 ubuntu
送出感谢: 3
接收感谢: 2
caogen19 写道:
大家好,我在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,不太明白,多谢大神指教

我看到的东西,开放图形库(英语:Open Graphics Library,缩写为OpenGL)是个定义了一个跨编程语言、跨平台的应用程序接口(API)的规范,它用于生成二维、三维图像。这个接口由近三百五十个不同的函数调用组成,用来从简单的图形比特绘制复杂的三维景象。而另一种程序接口系统是仅用于Microsoft Windows上的Direct3D。OpenGL常用于CAD、虚拟实境、科学可视化程序和电子游戏开发。
很复杂我不懂!


页首
 用户资料  
 
3 楼 
 文章标题 : Re: Ubuntu下安装OpenGL开发环境报错
帖子发表于 : 2015-04-12 9:53 

注册: 2012-01-03 20:52
帖子: 6
送出感谢: 0 次
接收感谢: 0 次
jackness 写道:
我看到的东西,开放图形库(英语:Open Graphics Library,缩写为OpenGL)是个定义了一个跨编程语言、跨平台的应用程序接口(API)的规范,它用于生成二维、三维图像。这个接口由近三百五十个不同的函数调用组成,用来从简单的图形比特绘制复杂的三维景象。而另一种程序接口系统是仅用于Microsoft Windows上的Direct3D。OpenGL常用于CAD、虚拟实境、科学可视化程序和电子游戏开发。
很复杂我不懂!

恩,是一个开放三维图形库,在Linux下有个叫mesa的库实现的,不过还是谢谢您


页首
 用户资料  
 
4 楼 
 文章标题 : Re: Ubuntu下安装OpenGL开发环境报错
帖子发表于 : 2015-04-12 10:43 

注册: 2012-01-03 20:52
帖子: 6
送出感谢: 0 次
接收感谢: 0 次
sudo apt-get install aptitude
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:
aptitude : Depends: libapt-pkg4.10
Depends: libept1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
安装aptitude也会出现依赖错误,不知道这一类如何解决,请大神帮忙看看哦


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译