Closed fliuzzi02 closed 3 years ago
UPDATE: I tried compiling with VS Code and PlatformIO in Ubuntu and it succeded, i looked ar earlier closed Issues and a guy found a similar problem as mine, wich he managed to solve by reinstalling git, wich didn't work for me (On Win 10)
UPDATE: I finally found what caused problems while compiling under windows, it was OneDrive synching the folder during the compliation process, disabling onedrive for that folder solved the problem.
P.S. I am now working for an app to use in combination with OpenCPN to gather navigation data
@fliuzzi02 what was the filesystem, where you placed the My-TTGO-Watch directory?
I had the same problem an my Windows 10 PC. On the NTFS partition everything works, on the ReFS partition i get the same error. Maybe the main reason for the problem is the max. filename length, depending on different filesystems...
@fliuzzi02 what was the filesystem, where you placed the My-TTGO-Watch directory?
I had the same problem an my Windows 10 PC. On the NTFS partition everything works, on the ReFS partition i get the same error. Maybe the main reason for the problem is the max. filename length, depending on different filesystems...
On NTFS, everything works
I went into OneDrive and watched/waited for all the contents of the My-TTGO-Watch to show as synced before I compiled and all was well after that. I like OneDrive. But it is a time drag when compiling in Platformio or Arduino.
I went into OneDrive and watched/waited for all the contents of the My-TTGO-Watch to show as synced before I compiled and all was well after that. I like OneDrive. But it is a time drag when compiling in Platformio or Arduino.
I just moved the project to a different drive
I had similar compiling problems with T-watch examples under PlatformIO. It turned out to be a problem with max path lengths, as Dervomsee already suggested. Just renamed the project map to something shorter, and it compiled ok.
Win7, NTFS: same problem: "Compiling .pio\build\t-watch2020-v3\libd0f\TTGO TWatch Library\libraries\GxEPD\src\GxGDEP015OC1\GxGDEP015OC1.cpp.o In file included from .pio/libdeps/t-watch2020-v3/TTGO TWatch Library/src/libraries/GxEPD/src/../../U8g2_for_Adafruit_GFX/src/../../TFT_eSPI/TFT_eSPI.h:577:0, from .pio/libdeps/t-watch2020-v3/TTGO TWatch Library/src/libraries/GxEPD/src/../../U8g2_for_Adafruit_GFX/src/U8g2_for_Adafruit_GFX.h:41, from .pio/libdeps/t-watch2020-v3/TTGO TWatch Library/src/libraries/GxEPD/src/GxFont_GFX.h:32, from .pio/libdeps/t-watch2020-v3/TTGO TWatch Library/src/libraries/GxEPD/src/GxEPD.h:21, from .pio/libdeps/t-watch2020-v3/TTGO TWatch Library/src/libraries/GxEPD/src/GxEPD.cpp:13: .pio/libdeps/t-watch2020-v3/TTGO TWatch Library/src/libraries/GxEPD/src/../../U8g2_for_Adafruit_GFX/src/../../TFT_eSPI/Fonts/GFXFF/GFXFF.h:14:65: fatal error: ../../../Adafruit-GFX-Library/Fonts/FreeMono12pt7b.h: No such file or directory compilation terminated."
Same error: it was only the windows path too long. Choose a short sdk installation path.
Moved to C:/. Well, yes better than. But still 4 errors. First one: ".pio/libdeps/t-watch2020-v3/ESP8266Audio/src/AudioOutputI2S.cpp:95:41: error: 'i2s_pin_config_t' has no non-static data member named 'mck_io_num' .data_in_num = I2S_PIN_NO_CHANGE};"
Also, first warning is "c:\T-Watch\My-TTGO-Watch\include" wurde nicht gefunden. (c:\T-Watch\My-TTGO-Watch\include ... not found)
Yes, I commented these lines because not use at first for me....
Now I have this:
Linking .pio\build\t-watch2020-v2\firmware.elf xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory *** [.pio\build\t-watch2020-v2\firmware.elf] Error 1
and impossible to resolve for me....
Same xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory issue for me. I've mentioned it around a bit. See what happens. Hopefully not a NIMBY war.
Hi, this project looks fantastic!
I was trying to compile the firmware on VS Code, using PlatformIO Core 5.1.1, Home 3.3.4 on Windows 10, and this error popped up:
Environment Status Duration
ttgo-t-watch-v1 FAILED 00:01:21.669 =============================================================================================== 1 failed, 0 succeeded in 00:01:21.669 =============================================================================================== The terminal process "C:\Users\fliuz.platformio\penv\Scripts\platformio.exe 'run', '--environment', 'ttgo-t-watch-v1'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.