Axe_game.cpp:1:10: fatal error 'raylib.h" file not found (using OSX Sonoma)

As the subject suggests I am having trouble calling up the raylib library when trying to run debug compiler on the initial axe game app.

I am on OSX Sonoma m2 pro chip
I’ve installed raylib as directed, vs code as directed.

my app code so far is:

#include “raylib.h”
int main()
{
InitWindow(1350, 1200, “my window name”);
}

Can you confirm the install path for Raylib? In terminal you can type brew --cellar raylib to confirm the path.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms