If you can, you should try the sfml2 branch from the SVN repository.
Alright, I just downloaded it. I'll update the appropriate file tomorrow.
Sure it does, if you use the debug SFML libraries. And it does many more things automatically (show the context, the call stack, put conditional breakpoints, ...). You should really try "new-school" debugging
Well, from what you tell me, new-school debugging implies debugging SFML ... :roll: anyways, how do I proceed?
Well, the error message is important. And if you run the debugger you can report many more informations about the crash.
There's no error message. It just crashes. And it does because my sf objects are declared outside of the main, when I try to access their functions, like
sprite.SetImage or
window.Create. Sometimes it works, sometimes it doesn't, sometimes partially. It's like lotto, and it's a symptom of bad memory allocation [by the sfml classes].
My only solution for now is to share objects by passing them to my functions by reference, but it's no garantee. God I miss my good old FBgfx ... never let me down. :wink: [/quote]