在Ubuntu上设置OpenGL [英] Setting up OpenGL on Ubuntu

查看:240
本文介绍了在Ubuntu上设置OpenGL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在Ubuntu上设置OpenGL和SDL的帮助. Ubuntu是否适合这种图形开发?我有用于C/C ++的CodeBlocks IDE,并且已经下载了SDL 1.2库.我很难做的是安装OpenGL.我必须遵循的步骤是什么?

I need help setting up OpenGL and SDL on Ubuntu. Is Ubuntu ideal for this kind of graphics development? I have CodeBlocks IDE for C/C++ and I have downloaded the SDL 1.2 libraries. What I am having a hard time to do is to install OpenGL. What are the step that I have to follow?

推荐答案

要设置OpenGL和SDL,您应该打开终端并发出命令:

To setup OpenGL and SDL you should open the terminal and issue the command:

sudo apt-get update && sudo apt-get install libgl sdl

输入根密码后,这将安装运行OGL/SDL应用程序所需的基本库. 我建议您使用Google搜索突触,并学习如何使用它.

This will install the basic libraries you need to run OGL/SDL applications, after entering the root password. I suggest you to google for synaptic and learn how to use it.

Linux始终是开发某些东西的好地方.

Linux is always a good place to develop something.

这篇关于在Ubuntu上设置OpenGL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆