sharandac / My-TTGO-Watch

A GUI named hedge for smartwatch like devices based on ESP32. Currently support for T-Watch2020 (V1,V2,V3), T-Watch2021, M5Paper, M5Core2 and native Linux support for testing.
GNU General Public License v2.0
523 stars 247 forks source link

Please update README.md regarding Windows build "CreateProcess: No such file..." errors. #380

Closed clintonefisher closed 1 year ago

clintonefisher commented 1 year ago

Build tool used:

used Hardware:

Description of problem: I was getting the error:

xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\t-watch2020-v1\firmware.elf] Error 1

Additional information and things you've tried: Per the README.md I tried removing apps from main.cpp, to no avail. I also tried shortening pathnames, etc, and that still didn't work. The SOLUTION for me was to ALSO delete the associated apps from the source tree in /src/apps.
I think it would help others to suggest that if removing apps from main.cpp doesn't work, to also remove the app source files from the build tree. It would also help to refer to issue #328 in the README.md so people understand the root of the problem is a Windows command-line length limitation. Thank you!!