Page 1 of 1

[Solved]Re: SDL not found

Posted: Fri Apr 20, 2012 5:59 am
by abishur
I was having a weird problem getting a program to work when I decided just to compile the code from source myself.  After double checking I had all the prerequisites I ran the appropriate script and got the error message "Simple DirectMedia Layer not found".  I've ensured that I do in fact have libsdl1.2debian-alsa installed, so I *should* have SDL in place.  I'm running the command as root.

I did a quick search on the forums and all discussion point to SDL working straight out of the box (the qemu VM of the r-pi has no problems with the program, if that makes any difference)

Is anyone else having this issue?

Re: SDL not found

Posted: Fri Apr 20, 2012 6:41 am
by croston
I suspect you have to install the -dev packages if you are compiling things yourself. When I installed PyGame from source, (=SDL for Python) this was needed anyway. For the list of apt-get commands, see the dependencies in the PyGame section here:
http://elinux.org/RPi_Debian_P.....ame_Module

You could also look up useful packages by doing a search:
$ aptitude search sdl

Re: SDL not found

Posted: Fri Apr 20, 2012 7:35 am
by AlArenal
Is libsdl1.2debian-alsa a separate package or part of libsdl1.2-dev? The latter is what you want to have installed if you need sdl.

Re: SDL not found

Posted: Fri Apr 20, 2012 12:51 pm
by abishur
arg, that was the issue.  Thanks guys!