Skip to content

Build Erros: ArduinoJson.h and lgvl.h #320

Discussion options

You must be logged in to vote

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}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fvanroie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant