I downloaded SDL2-2.0.3. I ran ./configure && make && make install.
SDL2-2.0.3
./configure && make && make install
I\'ve also tried brew install SDL2.
brew install SDL2
Make sure you download the x64 SDL2 version. You also need to statically link it with -lSDL2 flag.
-lSDL2