when i add the library in a sub folder i get compile errors from the fonts :-/
sketch\src\TFT\_fonts\arial10.c:43:7: error: unknown type name '_smCharType' const _smCharType image_data_arial10_0x20[1] ^~~~~~~~~~~ sketch\src\TFT\_fonts\arial10.c:49:7: error: unknown type name 'tImage' const tImage arial10_0x20 ^~~~~~ sketch\src\TFT\_fonts\arial10.c:55:7: error: unknown type name '_smCharType' const _smCharType image_data_arial10_0x21[4] ^~~~~~~~~~~ sketch\src\TFT\_fonts\arial10.c:61:7: error: unknown type name 'tImage' const tImage arial10_0x21 ^~~~~~ sketch\src\TFT\_fonts\arial10.c:67:7: error: unknown type name '_smCharType' const _smCharType image_data_arial10_0x22[5] ^~~~~~~~~~~
Sketchfolder contains:
test.ino
src\TFT\TFT_ST7735.h
the "TFT" folder contains the TFT library entirely so that i can share the project with other who don't have th library
test.ino
include
include "src/TFT/TFT_ST7735.h"
and then just use the "basicSetup.ino" text it wont compile
Hello everyone,
when i add the library in a sub folder i get compile errors from the fonts :-/
sketch\src\TFT\_fonts\arial10.c:43:7: error: unknown type name '_smCharType' const _smCharType image_data_arial10_0x20[1] ^~~~~~~~~~~ sketch\src\TFT\_fonts\arial10.c:49:7: error: unknown type name 'tImage' const tImage arial10_0x20 ^~~~~~ sketch\src\TFT\_fonts\arial10.c:55:7: error: unknown type name '_smCharType' const _smCharType image_data_arial10_0x21[4] ^~~~~~~~~~~ sketch\src\TFT\_fonts\arial10.c:61:7: error: unknown type name 'tImage' const tImage arial10_0x21 ^~~~~~ sketch\src\TFT\_fonts\arial10.c:67:7: error: unknown type name '_smCharType' const _smCharType image_data_arial10_0x22[5] ^~~~~~~~~~~
Sketchfolder contains:
test.ino
src\TFT\TFT_ST7735.h the "TFT" folder contains the TFT library entirely so that i can share the project with other who don't have th library
test.ino
include
include "src/TFT/TFT_ST7735.h"
and then just use the "basicSetup.ino" text it wont compile