SDL only works with debug

I’m running wxDevC++ with the newest versions of SDL, it all complies fine, but
the windows just open and are blank, but when i run them in debug that’s when
they actually work. What’s going on here?

Have you used assert()?

Matt wrote:> I’m running wxDevC++ with the newest versions of SDL, it all complies fine, but

the windows just open and are blank, but when i run them in debug that’s when
they actually work. What’s going on here?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

You will have to give a lot more information. SDL works fine in both
modes for many people, so statistically the problem is with your
configuration, not SDL itself. I think wxDevC++ places the executable
in some sub-folder of the project directory, so you may need to hunt
around and find this directory to copy SDL.dll into. Of course, it
could be a problem with your code. Debuggers often fill memory with
predictable patterns in debug mode, while in release mode you tend to
run outside a debugger. Try make a minimal SDL project with only
enough code to get a window working. If none of the above works,
you’ll need to post some of your configuration details to allow us to
help you.On Wed, Apr 30, 2008 at 2:33 AM, Matt wrote:

I’m running wxDevC++ with the newest versions of SDL, it all complies fine, but
the windows just open and are blank, but when i run them in debug that’s when
they actually work. What’s going on here?