Raylib.h not found even though it's in the right area

so I started to learn C++ and on the axe game’s first video I get the following error

[{
“resource”: “/c:/Users/hotsp/OneDrive/Desktop/Game Dev/Project 2/vscode-template-main/Axegame.cpp”,
“owner”: “C/C++: IntelliSense”,
“code”: “1696”,
“severity”: 8,
“message”: “#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (C:\Users\hotsp\OneDrive\Desktop\Game Dev\Project 2\vscode-template-main\Axegame.cpp).”,
“source”: “C/C++”,
“startLineNumber”: 1,
“startColumn”: 1,

"endLineNumber": 1,
"endColumn": 20

}]

I made sure the Raylib file is where it needs to be and even made sure the code calls for it. VS code just can’t find it and it’s starting to drive me up wall.

image_2024-08-02_091347418

Just to confirm, does this error also pop up when you try to compile/build your project? Intellisense, to borrow an AI term, likes to hallucinate and think there’s an issue when there isn’t.

I did for a while but I did fix it, it turns out I had to reset the C++ plugin for Visual code after that it was like “Oh right now I see it”

Ngl it gave me unkind thoughts when I fixed it (I take it coding is 50% of this?)

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

Yuuuuup, lots of fiddling around with software that does not always want to work as you want it to.

Privacy & Terms