miq19
September 9, 2022, 2:28pm
1
I get several hundreds of error messages in the Output window regarding c_cpp_properties.json
files like this one:
Cannot find "C:\Users\xxx\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp32".
The message is right, the path in fact is C:\Users\xxx\.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32\include
instead - last two components are reversed. But what made the paths different in the JSON file? And how to fix it the easy way?
There is no addition of
“tools”, “sdk”, “include”
in https://github.com/espressif/arduino-esp32/blob/master/tools/platformio-build-esp32.py , so I’m not sure where that comes from. If you didn’t do any modifications, I recommend deleting C:\Users\xxx\.platformio\packages\framework-arduinoespressif32\
and building the project again for a redownload.
1 Like
miq19
September 9, 2022, 3:42pm
3
Did as you advised. I then had to just switch to the respective projects’ environment once to get rid of the messages.
Thanks a lot again!