[SDL] SDL only works with debug

Brian brian.ripoff at gmail.com
Fri May 9 13:34:52 PDT 2008


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 <Terran64 at yahoo.com> 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?


More information about the SDL mailing list