Not building on OS X 10.9.5

#60 · closed · 2 comments

View on GitHub ↗

thehack

``` $ make cc -O2 -Wall -W -Ilua/src `pkg-config --cflags sdl SDL_gfx SDL_image` -c -o load81.o load81.c /bin/sh: pkg-config: command not found In file included from load81.c:37: ./framebuffer.h:4:10: fatal error: 'SDL.h' file not found #include <SDL.h> ^ 1 error generated. make: *** [load81.o] Error 1 ```

Comments

thehack

## To install on OS X: ### Install Homebrew ``` ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ``` ### Install Dependancies ``` brew install pkg-config sdl SDL_image SDL_gfx ``` ### Build the executable ``` make ```

badboy

``` /bin/sh: pkg-config: command not found ``` make sure to have pkg-config installed and properly configured.