Hi,
If you have problems installing raylib on a Mac I suggest using Homebrew.
Homebrew does not install the source code so you will need to clone/download raylib-master from github.
Copy the src directory to /usr/local/Cellar/raylib/3.7.0, note this is the version or raylib I installed.
Edit the c_cpp_properties.json file and the tasks.json file in the .vscode folder.
Where you see <path_to_raylib> change to /usr/local/opt/raylib. Note Homebrew puts the symlink to ray lib in /usr/local/opt.
In the c_cpp_properties.json file I had to change “macFrameworkPath”: [
“/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks” , 11.3 as this is my current Mac OS.
When you select build task in vs code use build debug (viscode-template)
I hope this information useful to someone.
Cheers,
James