Solved: Unresolved FAQ: No available video device

Apparently early on in the process of compiling SDL I had a broken X
configuration. This caused SDL’s configure script to cache 'have_x’
with the value “no”, which prevented SDL’s X support from building
even after I resolved the X problems. “make clean” didn’t remove
config.cache, so it wasn’t until I removed it by hand that SDL’s X
support got compiled in with the library.On Tue, Oct 16, 2001 at 01:05:42AM -0400, Tod Hagan wrote:

Downloaded and compiled SDL, seemingly successfully, but I’m getting
the error message which is the subject of a FAQ, which is no
help. I’m quite the novice with X and SDL, and I’m stumped. Any
advice?

./testvidinfo
Couldn’t initialize SDL: No available video device


Tod Hagan
Campton, NH
@Tod_Hagan

Apparently early on in the process of compiling SDL I had a broken X
configuration. This caused SDL’s configure script to cache 'have_x’
with the value “no”, which prevented SDL’s X support from building
even after I resolved the X problems. “make clean” didn’t remove
config.cache, so it wasn’t until I removed it by hand that SDL’s X
support got compiled in with the library.

“make distclean” removes all configuration files. “make clean” is just to
recompile from scratch, whereas “make distclean” is to rebuild EVERYTHING
from scratch.

This is true for most (if not all) projects that use autoconf (which is
where the tell-tale ./configure script comes from).

Then again, if you didn’t know this beforehand, there’s really no way
you’d have deduced it conveniently. That truth seems to apply to a lot of
Unix. (shrug)

–ryan.