User avatar
abishur
Posts: 4477
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
Contact: Website

[Solved]Re: SDL not found

Fri Apr 20, 2012 5:59 am

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?
Dear forum: Play nice ;-)

User avatar
croston
Posts: 706
Joined: Sat Nov 26, 2011 12:33 pm
Location: Blackpool
Contact: Website

Re: SDL not found

Fri Apr 20, 2012 6:41 am

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

AlArenal
Posts: 141
Joined: Sun Feb 26, 2012 6:58 pm
Location: Germany
Contact: Website

Re: SDL not found

Fri Apr 20, 2012 7:35 am

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.

User avatar
abishur
Posts: 4477
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
Contact: Website

Re: SDL not found

Fri Apr 20, 2012 12:51 pm

arg, that was the issue.  Thanks guys!
Dear forum: Play nice ;-)

Return to “Beginners”