Yo guys I’m new to c++ and I tried to install raylib so the next step was to run a pre made script to test if raylib worked but I get an error because include can’t find raylib.h (I took the script from the wiki)
error:#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (C:\Users\rober\Desktop\c++\Raylib-CPP-Starter-Template-for-VSCODE-main\main.cpp).
cannot open source file "raylib.h"
#Include error
12 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
First up, it's better to learn the basics of C++ before trying to use a library.
Second, it's easier to use Visual studio than Visual studio code.
You need to add the directory containing the header into the list of include paths.
i've alredy lernt c++ basics i just did not understood why i got that error
This is part of C++ basics.
well i just dont understand that
So you have not specified the location of the header file for the compiler to find.
ok how do i do it=
?
Try searching for the way to add an include path.