Mingw32, SDL, and NT4

I’ve managed to get MinGW compiling an SDL program I’ve written. To my
total amazement it runs! (which is very cool… being able to generate
Windows binaries on a Linux system).

But the keyboard doesn’t work…

The system I tried it on is an NT4 machine, could that be the problem?

Hmm, no, actually it might be a thread thing… my program uses threads
created with the SDL functions, and part way through compiling SDL for
MinGW, it shot something up the screen about thread support.–
I will not waste chalk
6AD6 865A BF6E 76BB 1FC2 | www.piku.org.uk/public-key.asc
E4C4 DEEA 7D08 D511 E149 | www.piku.org.uk wnzrf at cvxh.bet.hx (rot13’d)

| I’ve managed to get MinGW compiling an SDL program I’ve written. To my
| total amazement it runs! (which is very cool… being able to generate
| Windows binaries on a Linux system).
|
| But the keyboard doesn’t work…
|
| The system I tried it on is an NT4 machine, could that be the problem?

It appears to be… I just emailed it off to my Win98 owning cousin,
and it works. Except the fact I try opening /dev/urandom to feed junk
into srand(), which plain won’t work :slight_smile:

This is cool though :)On Sat, Mar 02, 2002 at 12:49:52AM +0000, James wrote:


I am not my long-lost twin
6AD6 865A BF6E 76BB 1FC2 | www.piku.org.uk/public-key.asc
E4C4 DEEA 7D08 D511 E149 | www.piku.org.uk wnzrf at cvxh.bet.hx (rot13’d)

James wrote:

I’ve managed to get MinGW compiling an SDL program I’ve written. To my
total amazement it runs! (which is very cool… being able to generate
Windows binaries on a Linux system).

But the keyboard doesn’t work…

The system I tried it on is an NT4 machine, could that be the problem?

make sure you are also linking to the SDLmain.lib for windows versions.
this will help make sure the keyboard works on those nt4 platforms.