Squareline code errors

Hi, I have an issue which I hope somebody can assist with. I am using a code of a few months now which I updates quite a few times before. However I needed to change something small but when I try to upload the code it give me tons of errors. I use a Elecrow ESP32S3 50inch touch display with a code I compiled from SquareLine. I mainly use the code to communicate with ESP8266 module to a Arduino Mega that do switching via the touch screen. II’m using LVGL8.1.11 the rest if the libraries is the latest. Attach some errors: E:\New_Project_V1\Trans_RGB_Stepper_StringAdj_V5\Transmitter_18.8.24_V5\Steel_V4_Trans\Steel_V4_Trans.ino:159:10: error: ‘lv_indev_drv_t’ does not name a type; did you mean ‘lv_indev_data_t’?
159 | static lv_indev_drv_t indev_drv;
| ^~~~~~~~~~~~~~
| lv_indev_data_t
E:\New_Project_V1\Trans_RGB_Stepper_StringAdj_V5\Transmitter_18.8.24_V5\Steel_V4_Trans\Steel_V4_Trans.ino:160:22: error: ‘indev_drv’ was not declared in this scope
160 | lv_indev_drv_init(&indev_drv);
| ^~~~~~~~~
E:\New_Project_V1\Trans_RGB_Stepper_StringAdj_V5\Transmitter_18.8.24_V5\Steel_V4_Trans\Steel_V4_Trans.ino:160:3: error: ‘lv_indev_drv_init’ was not declared in this scope; did you mean ‘lv_fs_drv_init’?
160 | lv_indev_drv_init(&indev_drv);
| ^~~~~~~~~~~~~~~~~
| lv_fs_drv_init
E:\New_Project_V1\Trans_RGB_Stepper_StringAdj_V5\Transmitter_18.8.24_V5\Steel_V4_Trans\Steel_V4_Trans.ino:162:23: error: ‘my_touchpad_read’ was not declared in this scope
162 | indev_drv.read_cb = my_touchpad_read;
| ^~~~~~~~~~~~~~~~
E:\New_Project_V1\Trans_RGB_Stepper_StringAdj_V5\Transmitter_18.8.24_V5\Steel_V4_Trans\Steel_V4_Trans.ino:163:3: error: ‘lv_indev_drv_register’ was not declared in this scope; did you mean ‘lv_fs_drv_register’?
163 | lv_indev_drv_register(&indev_drv);
| ^~~~~~~~~~~~~~~~~~~~~
| lv_fs_drv_register

exit status 1

Compilation error: ‘LV_IMGBTN_STATE_RELEASED’ undeclared (first use in this function); did you mean ‘LV_IMAGEBUTTON_STATE_RELEASED’?

Steel_V4_Trans.zip (87.8 KB)

You probably switched the LVGL library to 9.1 in ESP-IDF and it doesn’t recognize the old obsolete/shortened variable/function-names of code written for LVGL 8.3. You can either modify your code for 9.1 or downgrade your LVGL9 in the ESP-IDF project to LVGL8.

I haven’t changed the libraries. For LVGL I use 8.3.11 and LovyanGFX the latest. I did change to an earlier revision for faultfinding with no success. How do I modify the code to 9.1? Do you have a list of the modified variable/function-names? I already spent lots of time to try to manage the changes but with no success.

Mostly the function/type-names were changing in LVGL-9.1, but also the input/output driver handling got different functions. If you’d like to see many if these changes collected in one place instead of the need to compare different versions of LVGL-documents and changelogs, check out the lv_api_map_... header files in lvgl/src folder…

Thanks for the replay. I did look through the changes but as I am relatively new It will take long to go through and fix changes. My question is, when I compile a code in SquareLine I expect the code to have the relevant changes in the version I compile it to. I updated the code many times using LVGL 8.3.11 but last week when I tried to upgrade to fix an error the display gave me lots of errors. I did manage to upload the code but the display now lids up only without a picture, so all is on halt until I manage to fix the display.