SDL on Windows using Mingw32

“Eduardo B. Fonseca” wrote:

Hi Guys,

I’ve managed to compile SDL with mingw32… but it does not work!!!

All tests compile, so does the demos, but it simply does not work!

When I call an example, it simply quits without ANY output…

What’s happening?

Thanks

Eduardo.

trippy ain’t it? Make sure the DLL is installed. And check those god
damn fagget stdout.txt and stderr.txt files. They can hint things
sometimes. Try using the DX and Dib stuffs dlls.

SDL rox ma bong…but it’s internal mouse stuff isn’t so hot. Hey sammy
BTW, if the mouse is updated with the framebuffer, the mouse is gonna
look kinda jumpy in 32 bit mode at 800x600 don’t ya think!!!??? Hey,
document that MSB format stuff. I doesn’t not get it and that demo you
got is really really messed up. You converted an XPM to a bitmap? duh?
Does that Mouse icon / cursor stuff enable a hardware based mouse cursor
in DirectX?

Fer da mouse, I wonder if you can really notice the flicker of a partial
update…

CORRECTION: 32 bit lookup tables are 26MB for 8 fade steps. :slight_smile:

16 million colors * 2 bytes per color * 8 fade steps = about 26MB.

ONE 32 bit lookup table is 3.2MB!!! Well…that’s what memory is for!
He he, and to tell you the truth I didn’t think 13MB was all too
unreasonable! :slight_smile:

An 800x600 image in 32 bpp is…shit…uh…1.9MB! Ouch! This 32 bits
doesn’t look so hot now that I think about it…

Looks like I’ll go back to loser ass 16 bits. he he

Most of my code is aimed at it anyways…crud…

Thanx fer the spouting…

Paul Lowe
xpaull at ultraviolet.org

Hi Guys,

I’ve managed to compile SDL with mingw32… but it does not work!!!

All tests compile, so does the demos, but it simply does not work!

When I call an example, it simply quits without ANY output…

What’s happening?

Thanks

Eduardo.

Hi Guys,

I’ve managed to compile SDL with mingw32… but it does not work!!!

All tests compile, so does the demos, but it simply does not work!

When I call an example, it simply quits without ANY output…

Is there a file called “stderr.txt” in the program directory?
Have you copied the SDL DLL files to the program directory?

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

Sam –

the stderr file contains:

WinMain() error: Couldn’t register application class

And the DLLs are all in place.

Thanks!

Eduardo.On Fri, 29 Jan 1999, Sam Lantinga wrote:

Hi Guys,

I’ve managed to compile SDL with mingw32… but it does not work!!!

All tests compile, so does the demos, but it simply does not work!

When I call an example, it simply quits without ANY output…

Is there a file called “stderr.txt” in the program directory?
Have you copied the SDL DLL files to the program directory?

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

Guys –

the stderr.txt file contains:

WinMain() error: Couldn’t register application class

What’s happening?

Thanks!

Eduardo.On Fri, 29 Jan 1999, Sam Lantinga wrote:

Hi Guys,

I’ve managed to compile SDL with mingw32… but it does not work!!!

All tests compile, so does the demos, but it simply does not work!

When I call an example, it simply quits without ANY output…

Is there a file called “stderr.txt” in the program directory?
Have you copied the SDL DLL files to the program directory?

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

I’ve already solved that…

I’m running on Windows95, when I try to call the app from the SHELL,
it gives me this error… but when I CLICK on the app, everthing works.

Sam… take a look at my e-mail about MacOS… I would like to compile my
app on CWPro 4…

Thanks.

Eduardo.On Wed, 3 Feb 1999, Sam Lantinga wrote:

WinMain() error: Couldn’t register application class

I don’t know. Are you running on NT? What’s the name of your program?

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/