Adding a board from shell command

thank you for not answering the question.
got exact same error message on a simple hello world example !

xtensa-esp32-elf-g++: error: src\main.cpp: No such file or directory
xtensa-esp32-elf-g++: fatal error: no input files
compilation terminated.

ther is NO include , there is no further information, a fresh reinstall of vscode and platform io
restarted 20 times for updates.

THe AUTOMATIC loading of things does NOT work.
How do jou expect a beginner ( even hello world throws up the same mistory error) to respond

just try to build again untill jou are completly borred with platform IO

give a REASON a direction to look at … installed it fresh on 3 different machines all the same reaction on any stupid script…

something possibly simple is wrong in the initial default setting (unmodified) what to modify if nothing is found if just a mistery file is Lost… …

real assistance is required DEFAULT SETUP on updated working WINDOWS 10) 3 different machines

files on Default location on the cdisk just a the simplest stupid test with one Serial.Print no code errors…

  • toolchain-xtensa32 2.50200.80 (5.2.0)
    LDF: Library Dependency Finder → Library Dependency Finder (LDF) — PlatformIO latest documentation
    LDF Modes: Finder ~ chain, Compatibility ~ soft
    Found 26 compatible libraries
    Scanning dependencies…
    No dependencies
    Building in release mode
    Compiling .pio\build\esp32doit-devkit-v1\src\main.cpp.o
    Generating partitions .pio\build\esp32doit-devkit-v1\partitions.bin
    xtensa-esp32-elf-g++: error: src\main.cpp: No such file or directory
    xtensa-esp32-elf-g++: fatal error: no input files
    compilation terminated.
    *** [.pio\build\esp32doit-devkit-v1\src\main.cpp.o] Error 1

thanks for a real answer or a way to avoid all is automatic and completely failing