分页: 1 / 1

[已解决]怎么安装SDL

发表于 : 2007-07-31 23:44
levin
第一次想要玩游戏
./configure时说缺少SDL包
谁能告诉我具体是哪些包呢
另外还有玩游戏一般都需要什么包呢

发表于 : 2007-08-01 0:46
Strange
apt-get的话,是libsdl1.2-dev这个
当然自己下载libsdl source编译也可以

thankyou

发表于 : 2007-08-02 16:04
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.

Thanks

发表于 : 2007-08-02 16:21
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.

发表于 : 2007-08-02 16:29
eexpress
学会搜索源。
aptitude search sdl
超强的搜索。

发表于 : 2007-08-02 19:17
levin
谢谢5楼的指导
试了一下aptitude search 这个命令 真的很强 有包的介绍 速度比新利得软件包管理快多了 爽
再次感谢

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

发表于 : 2008-12-26 9:29
maple0730
:em03