mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
I've added a small clarification after personally having dealt with the issue. 'pkgconfig' being installed after 'raylib' means that it's not usable as described, so raylib need to be reinstalled.
@ -35,7 +35,10 @@ eval cc yourgame.c $(pkg-config --libs --cflags raylib) -o YourGame
|
||||
eval cc yourgame.c -framework IOKit -framework Cocoa -framework OpenGL $(pkg-config --libs --cflags raylib) -o YourGame
|
||||
```
|
||||
|
||||
You may get an error, complaining that the `pkg-config` command was not found. You can use `brew install pkgconfig` to fix that.
|
||||
You may get an error, complaining that the `pkg-config` command was not found. You can use `brew install pkgconfig` to fix that. If you install pkgconfig after you have installed raylib with homebrew, you should reinstall raylib so that pkgconfig works correctly. Use in the terminal
|
||||
```
|
||||
brew reinstall raylib
|
||||
```
|
||||
|
||||
> **NOTE**: The raylib Homebrew package tracks the latest [raylib release](https://github.com/raysan5/raylib/releases) and as such can be out of date with what's in master. For active development, we suggest building the newest development snapshot instead.
|
||||
##### Build newest development snapshot from source
|
||||
|
||||
Reference in New Issue
Block a user