platformio / platformio-vscode-ide

PlatformIO IDE for VSCode: The next generation integrated development environment for IoT
https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide
Apache License 2.0
1.18k stars 188 forks source link

After some nondeterministic time compile fails #4053

Open mozgy opened 1 month ago

mozgy commented 1 month ago

platformio, framework arduino type some code, click Build, firmware compiled type some more code, click Build, firmware compiled watch a Netflix movie (or any other nonPlatformio action) type some more code, click Build, BARF

Building in release mode
Compiling .pio\build\esp32s3cam\src\asyncWebServer.cpp.o
xtensa-esp32s3-elf-g++: error: CreateProcess: No such file or directory
xtensa-esp32s3-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\esp32s3cam\src\asyncWebServer.cpp.o] Error 1

what gives? And yes, deleting C:/Users/.../.platformio/ dir helps as it rebuilds everything from start but few hours later it happens again .. Not to mention that is very time consuming to download several gigs of complete environment every time.