I had tried to compile with the file SDLMain_tmpl.m too ( did you mean that instead of SDLMain.m ? ) . Without that file, I had an undefined symbol _main , even though I had defined the main function. I had read that I needed that SDLmain_tmpl.m file, and once added I got the errors above.
I...