Build Erros: ArduinoJson.h and lgvl.h #320
-
I am trying to build a custom build and get the following two errors before platform IO terminates the build: I am not familiar with platform IO and after spending 90 minutes trying to figure out what is causing the errors, I haven't made much progress. Do any chance someone knows how to fix them? I have attached the full log form the terminal in PlatformIO. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Nevermind - I found the issue. The platformio-override.ini did not have the library options region added to it. Once I added that, the two previous errors when away and I got to a new error: EDIT: After changing some flags and adding some definitions to the platformio_ocerride.ini file, I got it to build without errors. I added the following: |
Beta Was this translation helpful? Give feedback.
Nevermind - I found the issue. The platformio-override.ini did not have the library options region added to it. Once I added that, the two previous errors when away and I got to a new error:
src/hasp/hasp_dispatch.cpp:1195:53: error: 'class dev::BaseTft' has no member named 'width'
EDIT: After changing some flags and adding some definitions to the platformio_ocerride.ini file, I got it to build without errors. I added the following:
-D USER_SETUP_LOADED=1
-D TFT_ROTATION=0 ; 0=0, 1=90, 2=180 or 3=270 degree
and commented out the following line:
;${esp32.vspi}