application doesn't run outside of IDE

I have built a sdl based game which runs fine in the IDE (codeblocks) but not outside it (be opening the .exe in windows). I'm fairly sure I have all the dlls in the folder with .exe file. Any help would be great.
What error appears in the pop-up box? or terminal
No errors, it just opens a console and sdl window (both black) and then closes immediately.
Code::Blocks doesn't close your program at the end and waits for you to click enter(built in feature, useful and handy, but can be misleading), but programs made by it don't. If it's simple program, include std::cin.get() at the end of it, if not, find another way of stopping it at the end, so you could see your result.
Last edited on
Topic archived. No new replies allowed.