[已解决]怎么安装SDL

游戏讨论
回复
头像
levin
帖子: 109
注册时间: 2007-07-26 12:40
来自: 南京

[已解决]怎么安装SDL

#1

帖子 levin »

第一次想要玩游戏
./configure时说缺少SDL包
谁能告诉我具体是哪些包呢
另外还有玩游戏一般都需要什么包呢
上次由 levin 在 2007-08-06 23:52,总共编辑 1 次。
But for Ubuntu, I will die.
头像
Strange
帖子: 1824
注册时间: 2006-05-19 9:54
来自: Shanghai

#2

帖子 Strange »

apt-get的话,是libsdl1.2-dev这个
当然自己下载libsdl source编译也可以
头像
levin
帖子: 109
注册时间: 2007-07-26 12:40
来自: 南京

thankyou

#3

帖子 levin »

I have solved the problem.

But this time, it tells me that " error: SDL_mixer library required".

Who can tell me that how to find the package name from the error message?

I guess that it will command me installing another package when I install the SDL_mixer.
But for Ubuntu, I will die.
头像
levin
帖子: 109
注册时间: 2007-07-26 12:40
来自: 南京

Thanks

#4

帖子 levin »

I have solved the second problem.

Strange, your words guide me.

I use the command apt-cache search libsdl* to find a lot of package.

And I choose the "libsdl-image1.2-dev" and the "libsdl-mixer1.2-dev" to install.

Then, the problem has been solved.

So ,thank you,Strange.
But for Ubuntu, I will die.
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#5

帖子 eexpress »

学会搜索源。
aptitude search sdl
超强的搜索。
● 鸣学
头像
levin
帖子: 109
注册时间: 2007-07-26 12:40
来自: 南京

#6

帖子 levin »

谢谢5楼的指导
试了一下aptitude search 这个命令 真的很强 有包的介绍 速度比新利得软件包管理快多了 爽
再次感谢
But for Ubuntu, I will die.
maple0730
帖子: 51
注册时间: 2008-07-26 16:34

Re: [已解决]怎么安装SDL

#7

帖子 maple0730 »

:em03
回复