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

Clean install, build error on font. #371

Closed Sarah-C closed 1 year ago

Sarah-C commented 1 year ago

I've just installed this library in PlatformIO, and clicked the build option on T-Watch 2020 V2. During compilation it complains about not finding FreeMonoBoldOblique12pt7b.h .... I've checked and that file is in: C:\Users\sarah\Documents\PlatformIO\Projects\My-TTGO-Watch-master.pio\libdeps\t-watch2020-v2\TTGO TWatch Library\src\libraries\Adafruit-GFX-Library\Fonts

In the past it's been a path length issue, but I can't get much shorter than it is already! https://github.com/sharandac/My-TTGO-Watch/issues/228


Compiling .pio\build\t-watch2020-v2\liba6f\TTGO TWatch Library\libraries\GxEPD\src\GxFont_GFX.cpp.o In file included from .pio/libdeps/t-watch2020-v2/TTGO TWatch Library/src/libraries/GxEPD/src/../../U8g2_for_Adafruit_GFX/src/../../TFT from .pio/libdeps/t-watch2020-v2/TTGO TWatch Library/src/libraries/GxEPD/src/../../U8g2_for_Adafruit_GFX/src/U8g2for from .pio/libdeps/t-watch2020-v2/TTGO TWatch Library/src/libraries/GxEPD/src/GxFont_GFX.h:32, from .pio/libdeps/t-watch2020-v2/TTGO TWatch Library/src/libraries/GxEPD/src/GxEPD.h:21, from .pio/libdeps/t-watch2020-v2/TTGO TWatch Library/src/libraries/GxEPD/src/GxEPD.cpp:13: .pio/libdeps/t-watch2020-v2/TTGO TWatch Library/src/libraries/GxEPD/src/../../U8g2_for_Adafruit_GFX/src/../../TFT_eSPI/Fonts/GFXFF/GFXF-GFX-Library/Fonts/FreeMonoBoldOblique12pt7b.h: No such file or directory compilation terminated. [.pio\build\t-watch2020-v2\liba6f\TTGO TWatch Library\libraries\GxEPD\src\GxEPD.cpp.o] Error 1 In file included from .pio/libdeps/t-watch2020-v2/TTGO TWatch Library/src/libraries/GxEPD/src/../../U8g2_for_Adafruit_GFX/src/../../TFT from .pio/libdeps/t-watch2020-v2/TTGO TWatch Library/src/libraries/GxEPD/src/../../U8g2_for_Adafruit_GFX/src/U8g2for from .pio/libdeps/t-watch2020-v2/TTGO TWatch Library/src/libraries/GxEPD/src/GxFont_GFX.h:32, from .pio/libdeps/t-watch2020-v2/TTGO TWatch Library/src/libraries/GxEPD/src/GxFont_GFX.cpp:23: .pio/libdeps/t-watch2020-v2/TTGO TWatch Library/src/libraries/GxEPD/src/../../U8g2_for_Adafruit_GFX/src/../../TFT_eSPI/Fonts/GFXFF/GFXF-GFX-Library/Fonts/FreeMonoBoldOblique12pt7b.h: No such file or directory compilation terminated. [.pio\build\t-watch2020-v2\liba6f\TTGO TWatch Library\libraries\GxEPD\src\GxFont_GFX.cpp.o] Error 1 ========================================================================= [FAILED] Took 160.45 seconds ================================

Sarah-C commented 1 year ago

Path length issue.....