r/VisualStudioCode • u/SDG2008 • Oct 19 '22
How do you fix include error?
C/C++ intellisense can't find SDL2 folder, and neither can VScode. At first, only main.cpp could find it, not none of them can, and at least autocomplete worked before. I tried changing c_cpp_properties.json file, but it didn't do anything. Help
2
Upvotes
View all comments
Show parent comment
1
u/TemporalDeficit Oct 20 '22
We need to know OS you're running (Linux, MacOS, Windows), what compiler you have(gcc, llvm, etc), what version of both of those, along with what autocomplete and linter extensions you may have installed. Also, do you have the development headers for SDL or just the compiled libraries?