Unable to run SDL program in Eclipse but able to do so in Windows Explorer
问题 I have installed and set up SDL and managed to get a tutorial example to build (the tutorial code is from http://zamma.co.uk/setup-sdl2-eclipse-windows/) as a C++ Project in Eclipse. The problem is that when I try to run the application from Eclipse, the window doesn't appear, or perhaps it gets closed soon after appearing. Eclipse doesn't appear to show any errors. When I open the folder containing the executable in Windows Explorer and double-click on the application, it works; a window