Skip to content

Installing on a Macintosh

Simon Holmes edited this page Nov 25, 2019 · 3 revisions

Tested on macOS Catalina

When attempting to 'build and run' the following error may occur. This is due to an out of date SDL2 package.

dyld: Library not loaded: /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib
Referenced from: /private/var/folders/k7/r7tkw3n15ql14qt3pwvjrvmm0000gn/T/AppTranslocation/89FBB5AA-9FDB-465D-A214-0FC3CB4360F5/d/FemtoIDE.app/Contents/Resources/app.nw/darwin/PokittoEmu
Reason: Incompatible library version: PokittoEmu requires version 10.0.0 or later, but libSDL2-2.0.0.dylib provides version 9.0.0

The package can be updated using BREW by following these instructions:

  1. Press Command+Space and type Terminal and press enter/return key.

  2. Run in Terminal app:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

and press enter/return key.

  1. If the screen prompts you to enter a password, please enter your Mac's user password to continue. When you type the password, it won't be displayed on screen, but the system would accept it. So just type your password and press ENTER/RETURN key. Then wait for the command to finish.

  2. Install sdl2.

brew install sdl2

  1. Install sdl2_net.

brew install sdl2_net

  1. Install sdl2_image.

brew install sdl2_image

Clone this wiki locally