Document SDL dependencies
Closed this issue · 4 comments
gamedevsam commented
I tried to compile this and ran into this error:
make: sdl2-config: Command not found
make: sdl2-config: Command not found
cc -c -O2 -Werror -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 -I. src/config.c -o src/config.o
In file included from src/config.c:1:
src/config.h:3:10: fatal error: 'SDL_keycode.h' file not found
#include <SDL_keycode.h>
gamedevsam commented
I was able to compile the app on my Macbook M1 by installing SDL with the following commands:
brew install SDL2
brew install SDL2_image
brew install SDL2_ttf
Not sure all of these are required, but I didn't want to mess with it too much.
Then I could run the app like so:
make
./sm
CowSoftware commented
I've made a build instructions (#7) it has all the necessary installations for dependencies. Hopefully snesrev merges it.
dagit commented
@gamedevsam Looks like #7 was merged. Does that give you the documentation you need? I suspect this ticket can be closed now.
gamedevsam commented
Yessir, thank you for the docs!