Ask help

Dear List :

I test SDL by executing those programs under SDL-1.2.3/tests (redhat7.0)
,but I got “cant open video device”,
what should I do?

BestRegards’
Henry

Try running your SDL program from within X.

SDL has several rendering devices you can try.

IIRC they are (this may not be an exhaustive list)
GGI
SVGALIB
X
Framebuffer
VGL [FreeBSD/BSD OS]
AALIB [rendering in all ASCII text letters… very weird… very cool]

To use them you must set an environment variable and make certain that
your SDL libraries were compiled to use them.

Personally I usually stick with X windows because its the only graphical
device out of the above that I really “need” have setup anyway.

Signed:

ListOn Wednesday 10 April 2002 02:47 pm, henry wrote:

Dear List :

I test SDL by executing those programs under SDL-1.2.3/tests (redhat7.0)
,but I got “cant open video device”,
what should I do?

BestRegards’
Henry