antirez / load81

SDL based Lua programming environment for kids similar to Codea
BSD 2-Clause "Simplified" License
599 stars 62 forks source link

Not building on OS X 10.9.5 #60

Closed thehack closed 9 years ago

thehack commented 9 years ago
$ 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
thehack commented 9 years ago

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 commented 9 years ago
/bin/sh: pkg-config: command not found

make sure to have pkg-config installed and properly configured.