Error in c_cpp_properties.json and main.cpp files after installing PIO

The include path warning (and it is only a warning, it shouldn’t be stopping you from working on your code) started appearing after a recent update to the Microsoft C/C++ Extension for VSCode, and Ivan is trying to get the bottom of it and get it fixed over there…

As far as the problems in main.cpp, it’s hard to tell exactly what is causing that without knowing the content of your platformio.ini and main.cpp files…

1 Like