Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not building on OS X 10.9.5 #60

Closed
thehack opened this issue Mar 10, 2015 · 2 comments
Closed

Not building on OS X 10.9.5 #60

thehack opened this issue Mar 10, 2015 · 2 comments

Comments

@thehack
Copy link

thehack commented Mar 10, 2015

$ 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
Copy link
Author

thehack commented Mar 10, 2015

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
Copy link
Contributor

badboy commented Mar 11, 2015

/bin/sh: pkg-config: command not found

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

@thehack thehack closed this as completed Mar 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants