本文介绍了在Ubuntu中安装OpenGL和OpenAL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Ubuntu Lucid lynx中安装OpenGL(带有GLUT)和OpenAL(带有ALUT)?我尝试使用configure和make(www.mesa3d.org中介绍的方法)安装Mesa 7.8.2,但未安装任何东西. X.org的X已安装在我的系统中,但是没有/usr/X11R6目录.有问题吗?
How can I install OpenGL (with GLUT) and OpenAL (with ALUT) in Ubuntu Lucid lynx? I tried installing Mesa 7.8.2 using configure and make (the method told in www.mesa3d.org), but it is not installing anything. X.org's X is installed in my system, but there is no /usr/X11R6 directory. Is that a problem?
推荐答案
sudo apt-get update
OpenGL: sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev
OpenAL: sudo apt-get install libopenal0a libopenal-dev
ALUT: sudo apt-get install libalut0 libalut-dev
[ALUT的包装可能坏了,但效果很好]
[ALUT may have broken packages but it works fine]
这篇关于在Ubuntu中安装OpenGL和OpenAL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!