Compiler not found and Include Problem

Hello,

I had a problem with PIO after some month of not using it. The VS Code did not start PIO, but after complete de-installation of ALL components and folder and after new installation of VS Code and PIO, PIO started again as usual.

But now I run into another problem. The xtensa-lx106-elf-gcc compiler and some header files can not be found anymore.

I’m not an expert with PIO , so it seems strange to me that on one hand the selected compiler is xtensa-lx106-elf-gcc, on other hand the error message told me xtensa-lx106-elf-g++ can not be found.

The other thing is the error message

#include <ESP8266WiFi.h> #include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (D:\Cankeil\PIO\src\main.cpp).C/C++(1696)

cannot open source file “gluedebug.h” (dependency of “ESP8266WiFi.h”)C/C++(1696)

I tried to locate the missing header file and added the path, but then the next header file was missing.

Some month ago everything was working without problems. Also some older hints about similar problems here in the forum did not help.

I’m using PIO Home 3.3.4 , Core 6.1.19 and VS Code 1.119.0 (user setup). Target is ESP8266 (ESP01, ESP12)

Can anybody advice please?

Thank you

Meanwhile, I was able to fix the problem regarding the compiler. The compiler was still not in the folder where the compilers should be. I copied the missing compiler into the folder. I’m surprised that it was not copied during new installation of PIO.

Now I’m still struggling with the include issue.

You can check the following documents and discussions.