help with SDL (Simple DirectMedia Layer)
Hey can you help me to install SDL (Simple DirectMedia Layer) , I need it to compile Znes :)
Thanks! |
Go to the libsdl.org website
http://www.libsdl.org/download-1.2.php Download whatever package you want.. rpm or tar.gz If you got the rpm just install it normally. If you got the tar.gz tar -xvzf <packagename> Go into the newly created directory, and ./configure && make su root make install ldconfig exit Have fun :) |
dont forget the other important commonly used sdl packages:
SDL_image http://libsdl.org/projects/SDL_image SDL_mixer http://libsdl.org/projects/SDL_mixer SDL_net http://libsdl.org/projects/SDL_net and SDL_ttf http://libsdl.org/projects/SDL_ttf |
Hello:
I did that and here's what I've got: checking for sdl-config... no checking for SDL - version >= 1.2.0... no *** The sdl-config script installed by SDL could not be found *** If SDL was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the SDL_CONFIG environment variable to the *** full path to sdl-config. configure: error: SDL >= 1.2.0 is required Any idea? I downloaded rmp and installed all. I didn't get any choices, just double click and it said : it's all installed! |
Install normal SDL first.
http://www.libsdl.org/download-1.2.php http://www.libsdl.org/release/SDL-1.2.6-1.i386.rpm I had lots of problems with rpm too. That's the main reason that made me trash RH and put Gentoo. SDL never worked right with rpm for me. I had to compile it from source, and even that was hit and miss. |
Hey
It's sad, at least for me. These are just the kind of things that make me stick at WIN XP. I've tried to install like 10 programs (between screensavers, Karamba and some games) and everything just keeps asking for libraries, libraries and more libraries. ok I download library one. To compile it, I need library two. I got library to and I need library three. I have three and now it says it's installed successfully but Oh surprise!!! I can't have my Linux to work the way I want. I'm not quitting, but now I'm only using it for my own learning. Work, develop and explore, for normal daily things I'll have to stick with the "other" one. I'm quite a newbie. Do you suggest move on to Gentoo? |
If you're willing to follow the instruction guide to the letter, yup :)
It's very specific, clear, and simple to use. Just need to make sure you do exactely what it asks you. In the same order :). You'll learn a lot, and installing sdl goes like this: emerge libsdl Done :) www.gentoo.org Just post back here if you have problems with the install or anything like that. :) |
forgot to ask.... is it like slackware just command oriented? can I also use KDE?
|
Not sure how the slackware one is. This one has a graphical interface too, but I prefer the console version. Faster to just type for me :)
Yup, KDE Gnome Flux every window and desktop manger I know of :) |
All times are GMT -5. The time now is 11:56 AM. |