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.
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.