Mansuro
Mansuro

Reputation: 4627

SDL window isn't showing on Cygwin

I am trying to run an SDL application with very basic code on Cygwin, but I have the following error after calling SDL_Init:

No available video device

I have X11 packages installed, but that isn't solving the issue

Upvotes: 3

Views: 1175

Answers (1)

Yaakov
Yaakov

Reputation: 1703

You need to start the X server and set the DISPLAY variable appropriately before running an X program.

Upvotes: 3

Related Questions