Fatal error: raylib.h: No such file or directory

i am getting an error said No such file or directory when i include library raylib.h . How do i fix this ?
The raylib file is at its default location , i also tried to use Terminal > Run Build task and it didn’t work either

thank you very much!

also, i did delete the extra "using namespace " and the "#define " line but it still didn’t work

Take a look in the include path in cpp_p_properties and compare that to the your installation path for Raylib.

i don’t know if this is correct or not

Can you try copying the path in the first image and using it to replace the path in the second image?

Worst case, you may need to set the PATH Environment variable in Windows

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

Privacy & Terms