I’ve just followed a tutorial on how to do a HelloWorld application using PlatformIO in VSCode. Unfortunately when I go to build the project I get the following error:
xtensa-esp32-elf-g++: error: src/main.cpp: No such file or directory
I can’t see why, obviously this file is there. I haven’t altered the default new project apart from put the Serial.begin and Serial.println into the code.