From f9b1e66dc7b4c38b6cb0d185dc67cff9b3dcac25 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 9 Feb 2021 17:47:58 +0100 Subject: [PATCH] Updated Working on macOS (markdown) --- Working-on-macOS.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Working-on-macOS.md b/Working-on-macOS.md index 1f7045c..35c2619 100644 --- a/Working-on-macOS.md +++ b/Working-on-macOS.md @@ -43,9 +43,9 @@ You may get an error, complaining that the `pkg-config` command was not found. Y ``` make PLATFORM=PLATFORM_DESKTOP ``` -- If everything worked ok, `libraylib.a` should be created in `raylib-master/release/osx` folder. +- If everything worked ok, `libraylib.a` should be created in `raylib-master/src` folder. -5) Add generated libraries (raylib) to Xcode project. +4) Add generated libraries (raylib) to Xcode project. - Create a new Xcode project using `Command Line Tool`. Make sure selected language is C. - Once project created and open, Mouse click over the project main folder in the left project-navigation panel. It should appear `Build Phases` window, just enter and select `Link Binary With Libraries`. There you should add project libraries: - To add OpenGL: Click on + and add OpenGL.framework @@ -57,7 +57,7 @@ You may get an error, complaining that the `pkg-config` command was not found. Y - Make sure Xcode finds `raylib.h`: Go to `Build Settings > Search Paths` and add raylib header folder (`raylib-master/src`) to `Header Search Paths` - Make sure Xcode finds `libraylib.a`: Go to `Build Settings > Search Paths` and add raylib library folder (`raylib-master/release/osx`) to `Library Search Paths`. -6) raylib should work correctly. To make sure, just go to [official raylib page](http://www.raylib.com) and check the different examples available. Just copy the code into `main.c` file and run it with Run button or ⌘R. +5) raylib should work correctly. To make sure, just go to [official raylib page](http://www.raylib.com) and check the different examples available. Just copy the code into `main.c` file and run it with Run button or ⌘R. _NOTES:_