[snip]

In this case, I used the online mercurial repo browser for SDL 2 [1]. I selected the "release-2.0.0" tag, then clicked "include", then clicked the file link for "SDL_GameController.h". I used Ctrl-f in my web browser to search for SDL_GameControllerAddMapping and found it was there. I then went back to the include directory, clicked "revisions" for the same header and found that the function was added in a commit dated 05 March 2013 [2]. I then looked at the date of the SDL 2.0.0 tag and found it is 11 Aug 2013 [3]. Therefore, if your copy of SDL is missing this file, it is either a prerelease version or it is corrupt, with the former being more likely.

[1] https://hg.libsdl.org/SDL
[2] https://hg.libsdl.org/SDL/rev/c8aa24f05042
[3] https://hg.libsdl.org/SDL/rev/d6a8fa507a45

To uninstall SDL, do I just wipe the framework, and SDL dylib?

Reply via email to