Arduino Setup Error

Hi, I am trying LVGL_Arduino for the first time
but I get:

fatal error: lv_demo.h: No such file or directory

How can I fix this?

I’ve been using this setup guide:
https://docs.lvgl.io/master/get-started/platforms/arduino.html#get-the-lvgl-arduino-library

full error message:

Arduino: 1.8.13 (Mac OS X), TD: 1.56, Board: "Teensy 4.0, Serial, 150 MHz, Faster, US English"











/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/lee/Library/Arduino15/packages -hardware /Users/lee/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/lee/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/lee/Documents/Arduino/libraries -fqbn=teensy:avr:teensy40:usb=serial,speed=150,opt=o2std,keys=en-us -ide-version=10813 -build-path /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_527886 -warnings=none -build-cache /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_cache_901033 -verbose /Users/lee/Documents/Arduino/libraries/lvgl-master/src/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/lee/Library/Arduino15/packages -hardware /Users/lee/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/lee/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/lee/Documents/Arduino/libraries -fqbn=teensy:avr:teensy40:usb=serial,speed=150,opt=o2std,keys=en-us -ide-version=10813 -build-path /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_527886 -warnings=none -build-cache /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_cache_901033 -verbose /Users/lee/Documents/Arduino/libraries/lvgl-master/src/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino
Using board 'teensy40' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr
Using core 'teensy4' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr
Detecting libraries used...
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_527886/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for lvgl.h: [[email protected] [email protected]]
ResolveLibrary(lvgl.h)
  -> candidates: [[email protected] [email protected]]
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl-master/src /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_527886/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for TFT_eSPI.h: [[email protected] [email protected]]
ResolveLibrary(TFT_eSPI.h)
  -> candidates: [[email protected] [email protected]]
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl-master/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_527886/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for SPI.h: [[email protected]]
ResolveLibrary(SPI.h)
  -> candidates: [[email protected]]
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl-master/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_527886/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for lv_demo.h: []
ResolveLibrary(lv_demo.h)
/Users/lee/Documents/Arduino/libraries/lvgl-master/src/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino:9:21: fatal error: lv_demo.h: No such file or directory  -> candidates: []

Multiple libraries were found for "TFT_eSPI.h"
compilation terminated.
 Used: /Users/lee/Documents/Arduino/libraries/TFT_eSPI
 Not used: /Users/lee/Documents/Arduino/libraries/TFT_eSPI-master
Multiple libraries were found for "lvgl.h"
 Used: /Users/lee/Documents/Arduino/libraries/lvgl-master
 Not used: /Users/lee/Documents/Arduino/libraries/lv_arduino-master
Using library lvgl-master at version 9.0.0-dev in folder: /Users/lee/Documents/Arduino/libraries/lvgl-master 
Using library TFT_eSPI at version 2.4.61 in folder: /Users/lee/Documents/Arduino/libraries/TFT_eSPI 
Using library SPI at version 1.0 in folder: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI 
Error compiling for board Teensy 4.0.

I do not think that you should be using v 9 as it is in early (AFAIK) development. It looks like you installed LVGL from Github, but you should use Library manager in Arduino IDE. You will also need lv_examples which replaced lv_demo.

Done that, now have:

fatal error: ../lv_demo_conf.h: No such file or directory

full error:

Arduino: 1.8.13 (Mac OS X), TD: 1.56, Board: "Teensy 4.0, Serial, 150 MHz, Faster, US English"











/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/lee/Library/Arduino15/packages -hardware /Users/lee/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/lee/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/lee/Documents/Arduino/libraries -fqbn=teensy:avr:teensy40:usb=serial,speed=150,opt=o2std,keys=en-us -ide-version=10813 -build-path /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_741736 -warnings=none -build-cache /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_cache_361314 -verbose /Users/lee/Documents/Arduino/libraries/lvgl/src/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/lee/Library/Arduino15/packages -hardware /Users/lee/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/lee/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/lee/Documents/Arduino/libraries -fqbn=teensy:avr:teensy40:usb=serial,speed=150,opt=o2std,keys=en-us -ide-version=10813 -build-path /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_741736 -warnings=none -build-cache /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_cache_361314 -verbose /Users/lee/Documents/Arduino/libraries/lvgl/src/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino
Using board 'teensy40' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr
Using core 'teensy4' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr
Detecting libraries used...
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_741736/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for lvgl.h: [[email protected]]
ResolveLibrary(lvgl.h)
  -> candidates: [[email protected]]
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_741736/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for TFT_eSPI.h: [[email protected] [email protected]]
ResolveLibrary(TFT_eSPI.h)
  -> candidates: [[email protected] [email protected]]
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_741736/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for SPI.h: [[email protected]]
ResolveLibrary(SPI.h)
  -> candidates: [[email protected]]
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_741736/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for lv_demo.h: [[email protected]]
ResolveLibrary(lv_demo.h)
  -> candidates: [[email protected]]
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_741736/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for ../lv_demo_conf.h: []
ResolveLibrary(../lv_demo_conf.h)
  -> candidates: []
Multiple libraries were found for "TFT_eSPI.h"
 Used: /Users/lee/Documents/Arduino/libraries/TFT_eSPI
In file included from /Users/lee/Documents/Arduino/libraries/lv_examples/src/lv_demo.h:17:0,
 Not used: /Users/lee/Documents/Arduino/libraries/TFT_eSPI-master
                 from /Users/lee/Documents/Arduino/libraries/lvgl/src/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino:9:
/Users/lee/Documents/Arduino/libraries/lv_examples/src/../lv_demo.h:49:29: fatal error: ../lv_demo_conf.h: No such file or directory
compilation terminated.
Using library lvgl at version 8.3.1 in folder: /Users/lee/Documents/Arduino/libraries/lvgl 
Using library TFT_eSPI at version 2.4.61 in folder: /Users/lee/Documents/Arduino/libraries/TFT_eSPI 
Using library SPI at version 1.0 in folder: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI 
Using library lv_examples at version 8.1.0 in folder: /Users/lee/Documents/Arduino/libraries/lv_examples 
Error compiling for board Teensy 4.0.

fixed that, copied lv_demo_conf_template.h from Arduino/libraries/lv_examples
to:
Arduino/libraries/lv_demo_conf.h
although I didn’t edit the contents?

next error:

fatal error: lvgl/lvgl.h: No such file or directory
Arduino: 1.8.13 (Mac OS X), TD: 1.56, Board: "Teensy 4.0, Serial, 150 MHz, Faster, US English"











/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/lee/Library/Arduino15/packages -hardware /Users/lee/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/lee/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/lee/Documents/Arduino/libraries -fqbn=teensy:avr:teensy40:usb=serial,speed=150,opt=o2std,keys=en-us -ide-version=10813 -build-path /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_741736 -warnings=none -build-cache /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_cache_361314 -verbose /Users/lee/Documents/Arduino/libraries/lvgl/src/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/lee/Library/Arduino15/packages -hardware /Users/lee/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/lee/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/lee/Documents/Arduino/libraries -fqbn=teensy:avr:teensy40:usb=serial,speed=150,opt=o2std,keys=en-us -ide-version=10813 -build-path /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_741736 -warnings=none -build-cache /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_cache_361314 -verbose /Users/lee/Documents/Arduino/libraries/lvgl/src/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino
Using board 'teensy40' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr
Using core 'teensy4' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr
Detecting libraries used...
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_741736/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for lvgl.h: [[email protected]]
ResolveLibrary(lvgl.h)
  -> candidates: [[email protected]]
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_741736/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for TFT_eSPI.h: [[email protected] [email protected]]
ResolveLibrary(TFT_eSPI.h)
  -> candidates: [[email protected] [email protected]]
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_741736/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for SPI.h: [[email protected]]
ResolveLibrary(SPI.h)
  -> candidates: [[email protected]]
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_741736/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for lv_demo.h: [[email protected]]
ResolveLibrary(lv_demo.h)
  -> candidates: [[email protected]]
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_741736/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_disp.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_event.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_group.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_indev.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_indev_scroll.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_obj.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_obj_class.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_obj_draw.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_obj_pos.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_obj_scroll.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_obj_style.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_obj_style_gen.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_obj_tree.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_refr.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_theme.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/demos/benchmark/assets/img_benchmark_cogwheel_alpha16.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/demos/benchmark/assets/img_benchmark_cogwheel_argb.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/demos/benchmark/assets/img_benchmark_cogwheel_chroma_keyed.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/demos/benchmark/assets/img_benchmark_cogwheel_indexed16.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/demos/benchmark/assets/img_benchmark_cogwheel_rgb.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_examples/src /Users/lee/Documents/Arduino/libraries/lvgl/src/demos/benchmark/assets/img_benchmark_cogwheel_rgb565a8.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for lvgl/lvgl.h: []
ResolveLibrary(lvgl/lvgl.h)
/Users/lee/Documents/Arduino/libraries/lvgl/src/demos/benchmark/assets/img_benchmark_cogwheel_rgb565a8.c:4:23: fatal error: lvgl/lvgl.h: No such file or directory
  -> candidates: []
Multiple libraries were found for "TFT_eSPI.h"
 Used: /Users/lee/Documents/Arduino/libraries/TFT_eSPI
 Not used: /Users/lee/Documents/Arduino/libraries/TFT_eSPI-master
compilation terminated.
Using library lvgl at version 8.3.1 in folder: /Users/lee/Documents/Arduino/libraries/lvgl 
Using library TFT_eSPI at version 2.4.61 in folder: /Users/lee/Documents/Arduino/libraries/TFT_eSPI 
Using library SPI at version 1.0 in folder: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI 
Using library lv_examples at version 8.1.0 in folder: /Users/lee/Documents/Arduino/libraries/lv_examples 
Error compiling for board Teensy 4.0.

link

still errors…

Arduino: 1.8.13 (Mac OS X), TD: 1.56, Board: "Teensy 4.0, Serial, 150 MHz, Faster, US English"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/lee/Library/Arduino15/packages -hardware /Users/lee/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/lee/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/lee/Documents/Arduino/libraries -fqbn=teensy:avr:teensy40:usb=serial,speed=150,opt=o2std,keys=en-us -ide-version=10813 -build-path /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_752692 -warnings=none -build-cache /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_cache_45859 -verbose /Users/lee/Documents/Arduino/libraries/lvgl/src/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/lee/Library/Arduino15/packages -hardware /Users/lee/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/lee/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/lee/Documents/Arduino/libraries -fqbn=teensy:avr:teensy40:usb=serial,speed=150,opt=o2std,keys=en-us -ide-version=10813 -build-path /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_752692 -warnings=none -build-cache /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_cache_45859 -verbose /Users/lee/Documents/Arduino/libraries/lvgl/src/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino
Using board 'teensy40' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr
Using core 'teensy4' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr
Detecting libraries used...
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_752692/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for lvgl.h: [[email protected]]
ResolveLibrary(lvgl.h)
  -> candidates: [[email protected]]
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_752692/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for TFT_eSPI.h: [[email protected] [email protected]]
ResolveLibrary(TFT_eSPI.h)
  -> candidates: [[email protected] [email protected]]
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_752692/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for SPI.h: [[email protected]]
ResolveLibrary(SPI.h)
  -> candidates: [[email protected]]
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_752692/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for lv_demo.h: [[email protected] [email protected]]
ResolveLibrary(lv_demo.h)
  -> candidates: [[email protected] [email protected]]
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /var/folders/kz/yg8fjhp53c3201sw0bhpccy40000gn/T/arduino_build_752692/sketch/LVGL_Arduino.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_disp.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_event.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_group.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_indev.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_indev_scroll.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_obj.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_obj_class.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_obj_draw.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_obj_pos.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_obj_scroll.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_obj_style.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_obj_style_gen.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_obj_tree.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_refr.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/core/lv_theme.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/demos/benchmark/assets/img_benchmark_cogwheel_alpha16.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/demos/benchmark/assets/img_benchmark_cogwheel_argb.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/demos/benchmark/assets/img_benchmark_cogwheel_chroma_keyed.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/demos/benchmark/assets/img_benchmark_cogwheel_indexed16.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/demos/benchmark/assets/img_benchmark_cogwheel_rgb.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/Applications/Arduino.app/Contents/Java/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=156 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4 -I/Users/lee/Documents/Arduino/libraries/lvgl/src -I/Users/lee/Documents/Arduino/libraries/TFT_eSPI -I/Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI -I/Users/lee/Documents/Arduino/libraries/lv_demos/src /Users/lee/Documents/Arduino/libraries/lvgl/src/demos/benchmark/assets/img_benchmark_cogwheel_rgb565a8.c -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for lvgl/lvgl.h: []
ResolveLibrary(lvgl/lvgl.h)
  -> candidates: []
/Users/lee/Documents/Arduino/libraries/lvgl/src/demos/benchmark/assets/img_benchmark_cogwheel_rgb565a8.c:4:23: fatal error: lvgl/lvgl.h: No such file or directory
compilation terminated.
Multiple libraries were found for "TFT_eSPI.h"
 Used: /Users/lee/Documents/Arduino/libraries/TFT_eSPI
 Not used: /Users/lee/Documents/Arduino/libraries/TFT_eSPI-master
Multiple libraries were found for "lv_demo.h"
 Used: /Users/lee/Documents/Arduino/libraries/lv_demos
 Not used: /Users/lee/Documents/Arduino/libraries/lv_examples
Using library lvgl at version 8.3.1 in folder: /Users/lee/Documents/Arduino/libraries/lvgl 
Using library TFT_eSPI at version 2.4.61 in folder: /Users/lee/Documents/Arduino/libraries/TFT_eSPI 
Using library SPI at version 1.0 in folder: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SPI 
Using library lv_demos at version 8.1.1-dev in folder: /Users/lee/Documents/Arduino/libraries/lv_demos 
Error compiling for board Teensy 4.0.

I think this is the issue.

I have lvgl.h in the lvgl folder

fixed that, in the file Arduino/libraries/lvgl/src/demos/benchmark/assets/img_benchmark_cogwheel_rgb565a8.c
I uncommented #include “lvgl.h”