C_cpp_properties.json - missing config file

Hi,

I just wanted to share this with anyone with the same problem.

Yesterday, I did a fresh install on my work user account and noticed that every time c_cpp_properties.json rebuilt, I got a couple of errors complaining that: platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/config", was missing. Later, I did a fresh install on my Macbook and got exactly the same error. I was able to resolve the problem by manually copying the config from an earlier installation on my personal user account, so it looks like there is an error somewhere in the latest installation routine / intellisense rebuild(?).

Andy

Indeed,

VSCode emits a warning for declared but non existing include folders. This is not a compile error and can be safely ignored.

A fix for this is pending in Remove nonexisting folder from include path by maxgerhardt · Pull Request #6798 · espressif/arduino-esp32 · GitHub.

1 Like