Stacktrace:
#0 00000000 0x52005000 in ??() (??:??)
#1 6699850A sf::RenderTarget::Clear() (E:\Work\c++\modernarcade\bin\Debug\sfml-graphics-2.dll:??)
#2 0040BE02 hkVideoHandler::Step(this=0x3e44b8) (E:\Work\c++\modernarcade\src\Video\hkVideoHandler.cpp:52)
#3 004158C9 hkEngine::Step(this=0x3e3c58) (E:\Work\c++\modernarcade\src\hkEngine.cpp:194)
#4 00415130 hkEngine::Initialize(this=0x3e3c58) (E:\Work\c++\modernarcade\src\hkEngine.cpp:118)
#5 0040139E main() (E:\Work\c++\modernarcade\main.cpp:6)
This happens whenever I try to run my project, that worked perfectly fine until I compiled and linked a fresh snapshot of SFML2. It ONLY happens when I run in debugmode, also, the debugbinary whines about libstdc++-6.dll while the release(wich works) doesnt.
Running a fresh install of Windows XP SP3, Code::Blocks + MinGW. This is annoying since I cant effectively debug my other code..
The code that causes it to crash is sf::RenderVideo::Clear(); , even tho it nags about RenderTarget.