Hi.
I spent last night trying to get SFML working in Code::Blocks, but I kept running into an error when I ran the program (it compiles fine):
The procedure entry point __gx_personality_v0 could not be located in the dynamic link library libstdc++-6.dll.
I found out this is caused by conflicting exception handling models (I think). So I plunged myself into messages boards saturated with the acronyms DW2, SJLJ, and EH... none of which I had heard of before.
My Code::Blocks installation was done using the setup that includes MinGW. Okay, so I figured I would download the SFML libraries from the option that had "(MinGW)" beside it. Logical, or so I thought. But from what I can tell (after hours of searching), is that my compiler is using SJLJ, but this version of SFML was compiled using DW2, and so the two are incompatible. To test this, I downloaded and used the SJLJ version of SFML and everything compiled and ran fine. Cool. But what about this DW2 stuff? The compiler apparently supports both, but I can't find any way to choose between them and I'm not sure why the SFML site lists the DW2 one as MinGW, but this compiler uses SJLJ.
tl;dr: How do I select which model of exception handling my compiler uses?