Error compiling with Mingw from Dev-C++

For some reason, whenever I make a program that calls SDL functions, I get this
error:

[Linker Error]Undefined reference to __gxx_personality_v0

It doesn’t do that unless I call the functions. I can include SDL.h and not get
the error. That’s the only error I get.

Did you make sure to change your linker parameter to :

-lmingw32 -lSDLmain -lSDL -lopengl32

in the project options dialog…?

–Scott

Cjmovie wrote:>For some reason, whenever I make a program that calls SDL functions, I get this

error:

[Linker Error]Undefined reference to __gxx_personality_v0

It doesn’t do that unless I call the functions. I can include SDL.h and not get
the error. That’s the only error I get.


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