SDL overrides the main method, so don’t forget to include sdl.h in your entry point file. Otherwise the SDL_main funciton won’t be called and you can spend like two hours trying to figure out why the hell the system is not creating a proper context :P