"abnormal program termination" with gcc on windows

Hi,

I’ve tried to compile my sdl app with gcc from dev-c++. The included
sample sdl app works just fine. But when i try to run my own, it just
crashes and gives me an “abnormal program termination”.

My own program uses opengl? Could this have something to do with it?

What could be wrong?

regards

Ulf Holm Nielsen

Hi,

I’ve tried to compile my sdl app with gcc from dev-c++. The included
sample sdl app works just fine. But when i try to run my own, it just
crashes and gives me an “abnormal program termination”.

My own program uses opengl? Could this have something to do with it?

What could be wrong?

Are you trying to use SDL’s 2D functions (like blit and updaterects) with
the OpenGL video mode?

If not, have you tried running your program under a debugger, or using printf
statements to find out where the program is crashing?

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

uh,

It was all my own fault, well it usually is :wink:

sorry for disturbing everyones evening …

turns out I did not have the font I was trying to load…

regards,

Ulf Holm NielsenOn Friday, Oct 25, 2002, at 10:32 Europe/Copenhagen, Sam Lantinga wrote:

Hi,

I’ve tried to compile my sdl app with gcc from dev-c++. The included
sample sdl app works just fine. But when i try to run my own, it just
crashes and gives me an “abnormal program termination”.

My own program uses opengl? Could this have something to do with it?

What could be wrong?

Are you trying to use SDL’s 2D functions (like blit and updaterects)
with
the OpenGL video mode?

If not, have you tried running your program under a debugger, or using
printf
statements to find out where the program is crashing?

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl