Skip to content

Basic Mac Installation Instruction

Manos Kamarianakis edited this page Dec 14, 2020 · 1 revision

Install XCode

install Xcode 8 command line tools from terminal : xcode-select --install

Install SDL2

A. Download from Development Libraries -> Mac OS X -> SDL2-2.0.x.dmg
https://www.libsdl.org/download-2.0.php#source

B. Open the .dmg file , press command+shift+g navigate to /Library/Frameworks and copy the SDL2.framework file .

C. Open up a terminal and navigate to : /Library/Frameworks/SDL2.framework then sign the framework using the command: "codesign -f -s - SDL2"

Install SDL2_mixer

A. Download from Development Libraries -> Mac OS X -> SDL2_mixer-2.0.x.dmg https://www.libsdl.org/projects/SDL_mixer/

B. Open the .dmg file , press command+shift+g navigate to /Library/Frameworks and copy the SDL2_mixer.framework file.

C. Open up a terminal and navigate to : /Library/Frameworks/SDL2_mixer.framework then sign the framework using the command: "codesign -f -s - SDL2_mixer"

Sign the SDL2_mixer framework with the command: "codesign -f -s - SDL2_mixer"


Known Issues

There have been reports that the command "codesign -f -s - SDL2_mixer", may fail if you try to use it with the latest version of SDL2 mixer. In case that happens, please download and install an older version of SDL2 mixer (for instance: https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.0.dmg)