免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2689 | 回复: 5
打印 上一主题 下一主题

Solaris10下如何安装OpenGL? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-07-22 17:37 |只看该作者 |倒序浏览
我需要安装一个程序要求OpenGL
我的系统是sparc solaris10,在sunfreeware上没有找到现成的安装包。
倒是在opengl的网站上找到一个号称是for sparc_solaris_64bit的glut-3.7(我不太懂,这个是openGL吗?)
但是下载后,解包后不知道怎么安装,里面和source code一样的目录结构
我尝试了在test目录里试试其中的test,但是总是说我的display不支持
因为我的server是没有显示器的,所以我只能通过Xmanager连接上使用,是否这样的情况OpenGL就不能用呢?

请高手指点!

论坛徽章:
0
2 [报告]
发表于 2008-07-22 17:40 |只看该作者
OPENGL以前接触过,很久了。

论坛徽章:
0
3 [报告]
发表于 2008-07-22 20:19 |只看该作者
opengl跨平台不错

论坛徽章:
0
4 [报告]
发表于 2008-07-22 22:37 |只看该作者
I use solaris 10 sparc as well (sun blade 2000).

Check your machine first, opengl might have already been installed.

On my machine, opengl can be found at /usr/include/GL.

glut/freeglut is a windowing system developed based on opengl, provides very limited functionalities.

glut/freeglut and opengl(or mesa) binary can be downloaded from www.blastwave.org.

You need to installed pkg-get (also from blastwave), which allows you to download and install pre-compiled softwares from blastwave.

[ 本帖最后由 i270 于 2008-7-22 22:39 编辑 ]

论坛徽章:
0
5 [报告]
发表于 2008-07-23 15:07 |只看该作者
感谢i270!
确实我的系统也有/usr/include/GL目录,而且/usr/lib下面也有libGL.so等文件
这是否意味着我的系统已经安装好了openGL?

另外,我发现要安装的程序除了需要openGL,也需要glut
所以我就用i270介绍的办法去blastwave安装了freeglut
但是安装的时候它提示我mesa没有安装,因为我想我已经有了openGL了,所以就没管它。
不知道这样安装后glut是否可以用?

论坛徽章:
0
6 [报告]
发表于 2008-07-25 16:54 |只看该作者
遇到了新的问题:
运行一个基于opengl的程序时,出现:
freeglut (/path/xxx): OpenGL GLX extension not supported by display 'hostname:0.0'

我sun服务器是没有显示器的,所以我只能通过Xmanager连接上使用,是否因为这样的情况而导致OpenGL不能用?
还有,查网上的信息,似乎在VMware里面可以通过安装mesa来解决,不知道对于我这样的情况可以吗?
请懂行的高手指点一下!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP