PlatformIO Community

Include warnings


#1

I got some warnings?! What is going wrong?


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

Maybe the paths need updating - is that folder path valid? Try PlatformIO: Rebuild IntelliSense Index via the Command Palette (Ctrl+Shift+P or View -> Command Palette).


#3

It doesn’t help because there is no include folder.


#4

Hm… I’d be tempted to remove the invalid paths in c_cpp_properties.json, but the more important question is why did invalid paths get added, or is something missing.

There’s nothing in the platformio.ini file that is adding those paths?


#5

Removing the paths doesn’t help, because they come back on next index rebuild.
Maybe a problem with pro core development?


#6

There is also another path problem.


#7

What is your platformio.ini?


#8

[env:mzeropro]
platform = atmelsam
board = mzeropro
framework = arduino


#9

This is VSCode C++ extension issue, see


#10

Any idea of the include path warnings?


#11

Could you try the latest version of PIO Core Dev? pio upgrade --dev.


#12

Ok this works for the include warning. :grinning:


#13

With the last Core Dev, there are no more warnings