- Install
GLEW
andGLFW
withhomebrew
- Navigate to
Project > Build Phases > Link Binary With Libraries
- Click the
+
button - Click
Add Other
- Navigate to
/usr/local/Cellar/GLEW/[version number]/lib/libGLEW.[version number].dylib
- Repeat this process for
/usr/local/Cellar/GLFW/[version number]/libglfw.[version number].dylib
- Hint: use
Shift+Command+G
to navigate to/usr/local/Cellar
- Click the
- Navigate to
Project > Build Settings
- Select
All
andLevels
- Use the search box to locate
Header Search Paths
- Add
/usr/local/include
- Select
Note: when setting up with these project files, only step #1 should be required.