Update and Things Break

I just installed a new version of Code Blocks (13.12) and the most recent version of the TDM GCC compiler (4.8), and now the code I have crashes at run time and I have no idea why. I debugged my code and it seems to crash on std::vector< std::vector<double> > hudPolygon(0); and returns -1073741510 (0xC0000005).
Does anyone have any idea what this means or how to fix it?
What does the call stack show?
I got rid of that line and now it gives me the same error from
sf::Window App(sf::VideoMode(intDisplaySizeW, intDisplaySizeH, 32), "Tower Defense - 100%");

The call stack is
#0 691C4AF9	sf::VideoMode::VideoMode(unsigned int, unsigned int, unsigned int) () (D:\MyDocs\Documents\C++\TD\trunk\bin\Debug\sfml-window-2.dll:??)
#1 00404045	main() (D:\MyDocs\Documents\C++\TD\trunk\main.cpp:105)
SFML is very compiler sensitive. You probably need to compile SFML with your new compiler.
You're doing a full rebuild right? As in 'ctrl+F11'? Have you tried nuking the projects object files and rebuilding?
Yeah. I just tried that and nothing changed.

Update and Things Break


Welcome to the wonderful world of coding!
Last edited on
@DeadEli
Have you tried doing what @htirwin suggested? I had problems as well with SFML when changing compiler: You need to rebuild the actual SFML libraries. It isn't that hard, there should be a tutorial for it somewhere on the website.
Rebuilding it fixed my problem. Thanks.
Topic archived. No new replies allowed.