I am building a MAME cabinet. I got some ROMS, tested everything on my laptop, and now I am trying to put it on a raspberry pi 3 to use in the cabinet. I thought it would be nice to minimize memory use, so I installed Raspbian without the GUI.
However, when I try to run MAME it gives me an error:
Could not initialize SDL No available video device
I am assuming that this is because I don't have a GUI. I considered just installing Raspbian with the desktop instead, but figured I would ask here to see if anyone had a solution that lets me keep the GUI free version of raspbian.
I have tried everything mentioned in other questions posted for this error and nothing works.
Here are the specs of my setup:
Raspberry pi 3 B+
I have installed xscreensaver, SDL (libsdl2-2.0), OpenGL, and xorg-dev. (To the best of my knowledge. It is possible I might have missed something there.)
What do I need to do to get mame to run on my pi? Is this error even something I can fix or should I go with the version of Raspbian that has a gui? Let me know if you need any more information.