[SDL] Multiple SDL Apps on Windows

Jeff j_post at pacbell.net
Fri Feb 15 21:55:16 PST 2008


On Fri February 15 2008 10:16, Mark wrote:
> I have a bit of a strange problem with version 1.12 of SDL on Windows (XP
> SP2 Home & Pro) I'd appreciate some advice on.  I have a number of small
> applications which I have written on Linux which, when run open an SDL
> window using SDL_SetVideoMode.  Under Linux I can run two or more of them
> at once without a problem.

An excellent reason to use Linux and not Windows ;-)
>
> However when I build these for Windows using mingw, I can open one of these
> applications, but any subsequent ones I try to open once the first one is
> running all freeze at the SDL_SetVideoMode stage.
>
Are you compiling on Windows or cross-compiling the Windows executable on 
Linux? I've had no problem building multiple-window applications for Windows 
by cross-compiling on Linux.

Jeff




More information about the SDL mailing list