-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Just a note to anyone who wants to build this on macOS on Apple Silicon.
Have Xcode installed and install at least these homebrew pre-requites (there might be more but I have a 'busy' homebrew env already)
brew install sdl2 python3
For building resid change the install location to where Apple Silicon homebrew installs lives:
./configure --enable-shared –prefix=/opt/homebrew
# no need for sudo for make install
# no need for ldconfig
Edit pysid/setup.py
-sdl_flags = os.popen('sdl-config --cflags').read().strip().split(' ')
-sdl_libs = os.popen('sdl-config --libs').read().strip().split(' ')
+sdl_flags = os.popen('sdl2-config --cflags').read().strip().split(' ')
+sdl_libs = os.popen('sdl2-config --libs').read().strip().split(' ')No need for sudo when installing, i.e.
./setup.py install
hope that helps.
Metadata
Metadata
Assignees
Labels
No labels