Originally Posted by smeezekitty
type at the terminal:
then try again from the same terminal
I did as you said but still same error crops up.
I looked at SDL website suggesting in FAQ
try in bash:- DISPLAY=:0 ; export DISPLAY
try running xhost + localhost
make sure that you have the X11 development libraries installed.
But still error prevails.I think I don't have x11 development libraries.What should I get?