sdl-game-engine
sdl-game-engine copied to clipboard
Does this work on windows?
Using cmake and a compiler supporting the C++14 standard should work. I haven't written any platform specific code.
I will open a separate issue, but besides the fact your includes are wrong (non standard c++ 14) you also have a bug that's an upstream problem, the testsge doesn't start unless you flip the Mix_Init and Mix_Audio calls in your intialization function:
https://discourse.libsdl.org/t/bug-sdl2-mixer-init-error-format-support-not-available/23705