Trying to use LVGL ERROR

loading library from c:\Users\Ralph\Documents\Arduino\libraries\Dump: invalid library: no header files found
FQBN: arduino:mbed_giga:giga
Using board 'giga' from platform in folder: C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1
Using core 'arduino' from platform in folder: C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1

Detecting libraries used...
C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\Ralph\AppData\Local\Temp\arduino\sketches\DC2321A7D97B37D634E842F20EA24513\sketch\LVGL_Arduino.ino.cpp -o nul
Alternatives for lvgl.h: [lvgl@9.1.0]
ResolveLibrary(lvgl.h)
  -> candidates: [lvgl@9.1.0]
C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -Ic:\Users\Ralph\Documents\Arduino\libraries\lvgl\src -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\Ralph\AppData\Local\Temp\arduino\sketches\DC2321A7D97B37D634E842F20EA24513\sketch\LVGL_Arduino.ino.cpp -o nul
In file included from c:\users\ralph\documents\arduino\libraries\lvgl\src/lv_init.h:16:0,
                 from c:\users\ralph\documents\arduino\libraries\lvgl\lvgl.h:24,
                 from c:\Users\Ralph\Documents\Arduino\libraries\lvgl\src/lvgl.h:16,
                 from C:\Users\Ralph\Documents\Arduino\GIGA\Display\LVGL\LVGL_Arduino\LVGL_Arduino.ino:5:
c:\users\ralph\documents\arduino\libraries\lvgl\src/lv_conf_internal.h:59:18: fatal error: ../../lv_conf.h: No such file or directory
         #include "../../lv_conf.h"                /*Else assume lv_conf.h is next to the lvgl folder*/
                  ^~~~~~~~~~~~~~~~~
compilation terminated.
Alternatives for ../../lv_conf.h: []
ResolveLibrary(../../lv_conf.h)
  -> candidates: []
exit status 1

Compilation error: exit status 1

Hi @Ralphpdq. The "lvgl" library can be configured for your specific hardware by adding a file named lv_conf.h to the libraries folder under which the "lvgl" library is installed. In your case, that would be at this path:

c:\users\ralph\documents\arduino\libraries\lv_conf.h

You can learn about the configuration system from the LVGL documentation here:

https://docs.lvgl.io/master/integration/framework/arduino.html#configure-lvgl

I see you are using the GIGA R1 WiFi board. Are you also using the GIGA Display Shield? The reason I ask is because Arduino has set up a more convenient way to configure LVGL for use with the GIGA Display Shield. If you are using that shield then I can provide instructions.

Thank you!! I suppose this is what:
"Copy this file as lv_conf.h
** * 1. simply next to the lvgl folder**
** * 2. or any other places and**
** * - define LV_CONF_INCLUDE_SIMPLE**
** * - add the path as include path**"
means. Simply next to the 'lvgl' folder does not mean anything to me.

I tried placing in various places in the LVGL folder, all of which failed of course.

Ralph

Thanks, I am using the GIGA Display shield!

I added lv_conf.h to the Libraries folder.
I am still getting the error.

loading library from c:\Users\Ralph\Documents\Arduino\libraries\Dump: invalid library: no header files found
FQBN: arduino:mbed_giga:giga
Using board 'giga' from platform in folder: C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1
Using core 'arduino' from platform in folder: C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1

Detecting libraries used...
C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\Ralph\AppData\Local\Temp\arduino\sketches\DC2321A7D97B37D634E842F20EA24513\sketch\LVGL_Arduino.ino.cpp -o nul
Alternatives for lvgl.h: [lvgl@9.1.0]
ResolveLibrary(lvgl.h)
  -> candidates: [lvgl@9.1.0]
C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -Ic:\Users\Ralph\Documents\Arduino\libraries\lvgl\src -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\Ralph\AppData\Local\Temp\arduino\sketches\DC2321A7D97B37D634E842F20EA24513\sketch\LVGL_Arduino.ino.cpp -o nul
In file included from c:\users\ralph\documents\arduino\libraries\lvgl\src/lv_init.h:16:0,
                 from c:\users\ralph\documents\arduino\libraries\lvgl\lvgl.h:24,
                 from c:\Users\Ralph\Documents\Arduino\libraries\lvgl\src/lvgl.h:16,
                 from C:\Users\Ralph\Documents\Arduino\GIGA\Display\LVGL\LVGL_Arduino\LVGL_Arduino.ino:5:
c:\users\ralph\documents\arduino\libraries\lvgl\src/lv_conf_internal.h:59:18: fatal error: ../../lv_conf.h: No such file or directory
         #include "../../lv_conf.h"                /*Else assume lv_conf.h is next to the lvgl folder*/
                  ^~~~~~~~~~~~~~~~~
compilation terminated.
Alternatives for ../../lv_conf.h: []
ResolveLibrary(../../lv_conf.h)
  -> candidates: []
exit status 1

Compilation error: exit status 1

I am trying to use the latest version of LVGL do I need to use the old version?

Ralph

OK, great. This means we can forget about the lv_conf.h file. Just add this line to your sketch above the #include directive for lvgl.h:

#include <Arduino_H7_Video.h>

The "Arduino_H7_Video" library provides an LVGL configuration that is appropriate for the GIGA R1 WiFi board and the GIGA Display Shield.

The library is bundled with the "Arduino Mbed OS Giga Boards" platform used by the GIGA R1 WiFi, so you don't need to worry about installing the library.

Yes. The LVGL developers made some breaking changes in the 9.0.0 release of the library that made it incompatible with the version of the "Arduino_H7_Video" library that is bundled with the latest release of the "Arduino Mbed OS Giga Boards" platform. The Arduino developers have already updated the "Arduino_H7_Video" library to be compatible with LVGL 9.x, but there hasn't been a release of the "Arduino Mbed OS Giga Boards" platform since the time the library was updated. So for now you must use LVGL 8.x with the "Arduino_H7_Video" library. I'll provide instructions you can follow to install the appropriate version of the "lvgl" library:

  1. Select Sketch > Include Library > Manage Libraries... from the Arduino IDE menus to open the "Library Manager" view in the left side panel.
  2. Type lvgl in the "Filter your search..." field.
  3. Scroll down through the list of libraries until you see the "lvgl" entry.
  4. You will see a drop-down version menu at the bottom of the entry. Select "lvgl" from the menu.
  5. Click the "INSTALL" button at the bottom of the entry.
  6. Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:

    ⓘ Successfully installed library ...

Arduino IDE will periodically display a notification that offers to update the library for you:

Updates are available for some of your libraries.

If you click the "INSTALL MANUALLY" button in the notification, a list of each of the libraries that have available updates will be shown in the Arduino IDE Library Manager. It is generally a good idea to keep your libraries updated since the updates might provide important enhancements or bug fixes. So you should look through the list and update other libraries if appropriate, but you should avoid accepting the update for the "lvgl" library.

Some day soon, you should get a notification like this in Arduino IDE:

Updates are available for some of your boards.

This will likely indicate that version 4.1.2 of the "Arduino Mbed OS Giga Boards" platform has been released. Once you update the platform to version 4.1.2, you can also update the "lvgl" library if you like. Or if you prefer to continue to use LVGL version 8.x, that is also fine since the Arduino developers made it so the "Arduino_H7_Video" library is compatible with LVGL 8.x and 9.x.

Still getting the same error!!

I went back to the LVGL 8.4 build, still the same error!

Ralph

Please post your sketch.

This is from the Arduino Examples!

The error is here: https://drive.google.com/file/d/1ClByHuB0Xy2cfgmvhbcvt_ETQLUwAJoM/view?usp=drive_link

Here is the .ino

#include "Arduino_H7_Video.h"
#include "Arduino_GigaDisplayTouch.h"

#include "lvgl.h"

Arduino_H7_Video          Display(800, 480, GigaDisplayShield); /* Arduino_H7_Video Display(1024, 768, USBCVideo); */
Arduino_GigaDisplayTouch  TouchDetector;

static void set_slider_val(void * bar, int32_t val) {
  lv_bar_set_value((lv_obj_t *)bar, val, LV_ANIM_ON);
}

void setup() {
  Display.begin();
  TouchDetector.begin();

  lv_obj_t * screen = lv_obj_create(lv_scr_act());
  lv_obj_set_size(screen, Display.width(), Display.height());

  static lv_coord_t col_dsc[] = { 500, LV_GRID_TEMPLATE_LAST};
  static lv_coord_t row_dsc[] = { 400, LV_GRID_TEMPLATE_LAST};

  lv_obj_t * grid = lv_obj_create(lv_scr_act());

  lv_obj_set_grid_dsc_array(grid, col_dsc, row_dsc);

  lv_obj_set_size(grid, Display.width(), Display.height());

  lv_obj_center(grid);

  lv_obj_t * label;
  lv_obj_t * obj;

  obj = lv_obj_create(grid);
  lv_obj_set_grid_cell(obj, LV_GRID_ALIGN_STRETCH, 0, 1,
                        LV_GRID_ALIGN_STRETCH, 0, 1);
  lv_obj_set_flex_flow(obj, LV_FLEX_FLOW_COLUMN);

  lv_obj_t * bar = lv_bar_create(obj);
  lv_obj_set_size(bar, 200, 20);
  lv_obj_center(bar);
  lv_bar_set_value(bar, 70, LV_ANIM_OFF);

  lv_anim_t a;
  lv_anim_init(&a);
  lv_anim_set_exec_cb(&a, set_slider_val);
  lv_anim_set_time(&a, 3000);
  lv_anim_set_playback_time(&a, 3000);
  lv_anim_set_var(&a, bar);
  lv_anim_set_values(&a, 0, 100);
  lv_anim_set_repeat_count(&a, LV_ANIM_REPEAT_INFINITE);
  lv_anim_start(&a);

}

void loop() {
  lv_timer_handler();
}

It is actually a different error this time:

cc1plus.exe: fatal error: c:\Users\Ralph\Documents\Arduino\libraries\lvgl\src\extra\themes\default\lv_theme_default.c: No such file or directory

Note that, even though it is still a "No such file or directory" error, this time it is about a different file:

c:\Users\Ralph\Documents\Arduino\libraries\lvgl\src\extra\themes\default\lv_theme_default.c

I noticed something strange in the output:

C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -Ic:\Users\Ralph\Documents\Arduino\libraries\lvgl\src -Ic:\Users\Ralph\Documents\Arduino\libraries\Arduino_GigaDisplayTouch\src -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Wire  -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Portenta_SDRAM\src -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\ea_malloc -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000  -DCM4_RAM_END=0x60080000 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt c:\Users\Ralph\Documents\Arduino\libraries\lvgl\src\extra\themes\basic\lv_theme_basic.c -o nul
Downloading lvgl@9.1.0
lvgl@9.1.0
Installing lvgl@9.1.0
Replacing lvgl@8.4.0 with lvgl@9.1.0
C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -Ic:\Users\Ralph\Documents\Arduino\libraries\lvgl\src -Ic:\Users\Ralph\Documents\Arduino\libraries\Arduino_GigaDisplayTouch\src -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Wire -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Portenta_SDRAM\src -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\ea_malloc -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt c:\Users\Ralph\Documents\Arduino\libraries\lvgl\src\extra\themes\default\lv_theme_default.c -o nul
cc1plus.exe: fatal error: c:\Users\Ralph\Documents\Arduino\libraries\lvgl\src\extra\themes\default\lv_theme_default.c: No such file or directory
compilation terminated.

[/quote]

Note that there are lines about installing the library in between the lines about compiling the library. It looks like you tried compiling the sketch while Arduino IDE was in the middle of installing version 8.4.0 of the "lvgl" library. It is possible this was the cause of this unexpected "No such file or directory" error. So please try compiling the sketch again now that the library installation is completed. Hopefully this time it will be successful.

Still getting Error!!

Here is the error message.

In the future, please always post thing directly on the forum. Some of the forum helpers won't or can't access files on external file hosting sites so this benefits you by increasing the chances of getting quality assistance. It also benefits others because files on external sites tend to go missing as time goes on, which frequently leaves frustrating gaps in the context required for the thread to serve as a useful reference to others with similar questions who find the thread through their researches.

In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here:

  1. Open any text editor program.
  2. Paste the copied output into the text editor.
  3. Save the file in .txt format.
  4. Open a forum reply here by clicking the "Reply" button.
  5. Click the "Upload" icon (Upload icon) on the post composer toolbar:
    Upload icon on toolbar
    The "Open" dialog will open.
  6. Select the .txt file you saved from the "Open" dialog.
  7. Click the "Open" button.
    The dialog will close.
  8. Click the "Reply" button to publish the post.

Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.


Back to the problem: I can see that you have version 9.1.0 of the "lvgl" library installed:

Using library lvgl at version 9.1.0 in folder: C:\Users\Ralph\Documents\Arduino\libraries\lvgl 

As I mentioned previously in the thread, versions 9.0.0 and higher of the "lvgl" library are incompatible with the current version of the "Arduino_H7_Video" library. This is the cause of the errors.

I'll provide instructions you can follow to install the compatible version of the "lvgl" library:

The "Arduino_H7_Video" library provides an LVGL configuration that is appropriate for the GIGA R1 WiFi board and the GIGA Display Shield.

The library is bundled with the "Arduino Mbed OS Giga Boards" platform used by the GIGA R1 WiFi, so you don't need to worry about installing the library.

Yes. The LVGL developers made some breaking changes in the 9.0.0 release of the library that made it incompatible with the version of the "Arduino_H7_Video" library that is bundled with the latest release of the "Arduino Mbed OS Giga Boards" platform. The Arduino developers have already updated the "Arduino_H7_Video" library to be compatible with LVGL 9.x, but there hasn't been a release of the "Arduino Mbed OS Giga Boards" platform since the time the library was updated. So for now you must use LVGL 8.x with the "Arduino_H7_Video" library. I'll provide instructions you can follow to install the appropriate version of the "lvgl" library:

  1. Select Sketch > Include Library > Manage Libraries... from the Arduino IDE menus to open the "Library Manager" view in the left side panel.
  2. Type lvgl in the "Filter your search..." field.
  3. Scroll down through the list of libraries until you see the "lvgl" entry.
  4. You will see a drop-down version menu at the bottom of the entry. Select "8.4.0" from the menu.
  5. Click the "INSTALL" button at the bottom of the entry.
  6. Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:

    ⓘ Successfully installed library ...

Arduino IDE will periodically display a notification that offers to update the library for you:

Updates are available for some of your libraries.

If you click the "INSTALL MANUALLY" button in the notification, a list of each of the libraries that have available updates will be shown in the Arduino IDE Library Manager. It is generally a good idea to keep your libraries updated since the updates might provide important enhancements or bug fixes. So you should look through the list and update other libraries if appropriate, but you should avoid accepting the update for the "lvgl" library.

Some day soon, you should get a notification like this in Arduino IDE:

Updates are available for some of your boards.

This will likely indicate that version 4.1.2 of the "Arduino Mbed OS Giga Boards" platform has been released. Once you update the platform to version 4.1.2, you can also update the "lvgl" library if you like. Or if you prefer to continue to use LVGL version 8.x, that is also fine since the Arduino developers made it so the "Arduino_H7_Video" library is compatible with LVGL 8.x and 9.x.


Please let me know if you have any questions or problems while following those instructions.

Thanks for the explanation.
I have installed 8.4.0
Still getting errors! Different error but still starts with "Dump: invalid library: no header files found".

loading library from c:\Users\Ralph\Documents\Arduino\libraries\Dump: invalid library: no header files found
FQBN: arduino:mbed_giga:giga
Using board 'giga' from platform in folder: C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1
Using core 'arduino' from platform in folder: C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1

Detecting libraries used...
C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\Ralph\AppData\Local\Temp\arduino\sketches\FC17774FDC968BF47AF9B2C9005ACC37\sketch\squarelinestudio_lvgl.ino.cpp -o nul
Alternatives for Arduino_H7_Video.h: [Arduino_H7_Video@1.0]
ResolveLibrary(Arduino_H7_Video.h)
-> candidates: [Arduino_H7_Video@1.0]
C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\Ralph\AppData\Local\Temp\arduino\sketches\FC17774FDC968BF47AF9B2C9005ACC37\sketch\squarelinestudio_lvgl.ino.cpp -o nul
Alternatives for Arduino_GigaDisplayTouch.h: [Arduino_GigaDisplayTouch@1.0.1]
ResolveLibrary(Arduino_GigaDisplayTouch.h)
-> candidates: [Arduino_GigaDisplayTouch@1.0.1]
C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -Ic:\Users\Ralph\Documents\Arduino\libraries\Arduino_GigaDisplayTouch\src -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\Ralph\AppData\Local\Temp\arduino\sketches\FC17774FDC968BF47AF9B2C9005ACC37\sketch\squarelinestudio_lvgl.ino.cpp -o nul
Alternatives for Wire.h: [Wire]
ResolveLibrary(Wire.h)
-> candidates: [Wire]
C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -Ic:\Users\Ralph\Documents\Arduino\libraries\Arduino_GigaDisplayTouch\src -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Wire -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\Ralph\AppData\Local\Temp\arduino\sketches\FC17774FDC968BF47AF9B2C9005ACC37\sketch\squarelinestudio_lvgl.ino.cpp -o nul
Alternatives for lvgl.h: [lvgl@8.4.0]
ResolveLibrary(lvgl.h)
-> candidates: [lvgl@8.4.0]
C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -Ic:\Users\Ralph\Documents\Arduino\libraries\Arduino_GigaDisplayTouch\src -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Wire -Ic:\Users\Ralph\Documents\Arduino\libraries\lvgl\src -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\Ralph\AppData\Local\Temp\arduino\sketches\FC17774FDC968BF47AF9B2C9005ACC37\sketch\squarelinestudio_lvgl.ino.cpp -o nul
C:\Users\Ralph\AppData\Local\Temp\.arduinoIDE-unsaved2024326-13840-abkdpu.r1u5w\squarelinestudio_lvgl\squarelinestudio_lvgl.ino:26:10: fatal error: ui.h: No such file or directory
#include "ui.h"
^~~~~~
compilation terminated.
Alternatives for ui.h: []
ResolveLibrary(ui.h)
-> candidates: []
exit status 1

Compilation error: ui.h: No such file or directory
FQBN: arduino:mbed_giga:giga
Using board 'giga' from platform in folder: C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1
Using core 'arduino' from platform in folder: C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1

Detecting libraries used...
C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\Ralph\AppData\Local\Temp\arduino\sketches\FC17774FDC968BF47AF9B2C9005ACC37\sketch\squarelinestudio_lvgl.ino.cpp -o nul
Alternatives for Arduino_H7_Video.h: [Arduino_H7_Video@1.0]
ResolveLibrary(Arduino_H7_Video.h)
-> candidates: [Arduino_H7_Video@1.0]
C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\Ralph\AppData\Local\Temp\arduino\sketches\FC17774FDC968BF47AF9B2C9005ACC37\sketch\squarelinestudio_lvgl.ino.cpp -o nul
Alternatives for Arduino_GigaDisplayTouch.h: [Arduino_GigaDisplayTouch@1.0.1]
ResolveLibrary(Arduino_GigaDisplayTouch.h)
-> candidates: [Arduino_GigaDisplayTouch@1.0.1]
C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -Ic:\Users\Ralph\Documents\Arduino\libraries\Arduino_GigaDisplayTouch\src -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\Ralph\AppData\Local\Temp\arduino\sketches\FC17774FDC968BF47AF9B2C9005ACC37\sketch\squarelinestudio_lvgl.ino.cpp -o nul
Alternatives for Wire.h: [Wire]
ResolveLibrary(Wire.h)
-> candidates: [Wire]
C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -Ic:\Users\Ralph\Documents\Arduino\libraries\Arduino_GigaDisplayTouch\src -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Wire -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\Ralph\AppData\Local\Temp\arduino\sketches\FC17774FDC968BF47AF9B2C9005ACC37\sketch\squarelinestudio_lvgl.ino.cpp -o nul
Alternatives for lvgl.h: [lvgl@8.4.0]
ResolveLibrary(lvgl.h)
-> candidates: [lvgl@8.4.0]
C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Arduino_H7_Video\src -Ic:\Users\Ralph\Documents\Arduino\libraries\Arduino_GigaDisplayTouch\src -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\libraries\Wire -Ic:\Users\Ralph\Documents\Arduino\libraries\lvgl\src -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Ralph\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\Ralph\AppData\Local\Temp\arduino\sketches\FC17774FDC968BF47AF9B2C9005ACC37\sketch\squarelinestudio_lvgl.ino.cpp -o nul
C:\Users\Ralph\AppData\Local\Temp\.arduinoIDE-unsaved2024326-13840-abkdpu.r1u5w\squarelinestudio_lvgl\squarelinestudio_lvgl.ino:26:10: fatal error: ui.h: No such file or directory
#include "ui.h"
^~~~~~
compilation terminated.
Alternatives for ui.h: []
ResolveLibrary(ui.h)
-> candidates: []
exit status 1

Compilation error: ui.h: No such file or directory

Although it might not seem like it, this is good progress! You now have a setup for the LVGL configuration and compatible library versions installed.

The new error to focus on is this one:

It seems either you forgot to perform this step of the instructions in the "squarelinestudio_lvgl" example sketch, or else something went wrong while doing that:

The instructions are not very clear. You must make sure the installation of the "ui" library has this structure:

C:\Users\Ralph\Documents\Arduino\
├── libraries\
│   ├── ui\
│   │   ├── ui.h
│   │   ...
│   ...
...

After you have installed the "ui" library, try compiling the sketch again. Hopefully this time it will work as expected.

This warning is completely unrelated to the problems you are having with LVGL. Arduino IDE displays this type of warning on every compilation when you have things in the libraries subfolder of your Arduino sketchbook folder that are not libraries. These "invalid libraries" don't actually cause any problems with the IDE's functionality (though it could be a problem if it was a library you installed incorrectly that is required by your sketch) so you can simply ignore the warning if you like.

However, the warning can be annoying and distracting so you might prefer to fix the problem even though it won't have any effect on your LVGL endeavors. If you want to do that, simply remove the folder at the following path:

c:\Users\Ralph\Documents\Arduino\libraries\Dump

If there is something of value in that Dump folder, move it to any other location on your hard drive outside of the libraries folder. If there is nothing of value in the Dump folder you can simply delete it.

I have not installed anything?
This is confusing! Do I start with the LVLG libraries?
I cannot find the lvgl library anywhere on my computer.
I have installed the lvgl-master.zip but they are not in my libraries folder.

How do I install the ui library? Is it in the lvlg library folder?

Ralph

There's your problem then. You create a GUI for your display in a Squareline Studio project. You must then export that Squareline Studio project as C++ code you can use in your sketches:

https://docs.arduino.cc/tutorials/giga-display-shield/square-line-tutorial/#exporting-a-project-from-squareline-studio

The approach taken by the people who produced the Giga Display Shield documentation is to then install that C++ code that was exported from the Squareline Studio project as an Arduino library:

https://docs.arduino.cc/tutorials/giga-display-shield/square-line-tutorial/#running-the-squareline-studio-project-on-arduino-ide

I'm getting a bit discouraged in this discussion because it feels to me that you aren't making enough of an effort here. Even though Arduino does our best to reduce the amount of unnecessary complexity, embedded systems projects are inherently complex endeavors that require a good deal of effort, focus, and dedication to accomplish. So you need to make the decision about whether you are willing to do that. If not, that's fine; Arduino isn't for everyone.

If you read the documentation, you should have been aware that you needed to install the exported Squareline Studio project. Did you even bother to read the documentation, or did you just click the compile button in the IDE? If you saw the documentation and didn't understand how to perform the installation, that is completely understandable, and I'm happy to help with that, but if you knew you needed to install it and didn't, then you should have been responsible enough to state that and provided a detailed description of the obstacles that prevented you from performing that step.

Please provide a detailed description of exactly what it is you don't understand. I've done my best to provide a general overview of what is needed. I can provide a more detailed explanation of specific aspects, but I can only do that if I understand exactly what it is that isn't clear to you.

Have you studied the tutorial carefully?

https://docs.arduino.cc/tutorials/giga-display-shield/square-line-tutorial/

I'm not sure I understood correctly what you mean by this. Please add a forum reply here that provides a more detailed description to help us to understand it.

It should be at this path:

c:\Users\Ralph\Documents\Arduino\libraries\lvgl
  1. Start Squareline Studio.

  2. The application might now prompt you to either click a "CONTINUE WITH TRIAL" button or else "LOG IN". Complete this dialog as appropriate.

  3. You will now see a list of your Squareline Studio projects. Double click on the project for the display GUI you want to use with your Arduino sketch.
    The project will open in Squareline Studio.

  4. Click the "File" tab at the top of the Squareline Studio window.
    A menu will open.

  5. Select "Project Settings" from the menu.
    The "PROJECT SETTINGS" dialog will open.

  6. Click the "BROWSE" button to the right of the "UI Files Export Path" field in the dialog.
    The "Select Folder" dialog will open.

  7. Navigate in the dialog to the folder at the following path:
    Desktop > Documents > Arduino > libraries

  8. Click the "New Folder" button in the dialog's toolbar.
    A new folder with the default name "New folder" will be created under the libraries folder. The "New folder" folder name will be in an editable state.

  9. Type ui to change the name of the folder from New folder to ui.

  10. Press the Enter key on your keyboard.
    The folder renaming process will be completed.

  11. Click the "Select Folder" button in the "Select Folder" dialog.
    The dialog will close.

  12. Click the "APPLY CHANGES" button at the bottom of the "PROJECT SETTINGS" dialog.
    The "PROJECT SETTINGS" dialog will close.

  13. Click the "Export" tab at the top of the Squareline Studio window.
    A menu will open.

  14. Select "Export UI Files" from the menu.
    An "Export Succeed" notification should now appear. You might also see another notification:

    There may be some complie [sic] errors because your project path is not set in the project settings!

    You can ignore that notification.

Now compile or upload the "squarelinestudio_lvgl" example sketch again. This time it should work as expected.

Sorry I had not detail read the documentation.

I think I need to back up to the squareline input.
I have Squareline install butthere are no projects.

It looks like squareline is lookning for .spj file. Where would I get the GIGA .spj file?

Thank you so much, your patience has been outstanding.

Somewhere there must be a Arduino Giga Display LVGL getting started document which I misssed.

Does everyone go through what I have to run the GIGA display.

I allways assume that a furnish example should run or at least have explicit instructions on how to make it run.

Ralph

You should create one. You can start with something super basic just to get some graphics on the display as a "hello world", without any actual functionality. It will only take a couple of minutes to do.

I'll provide instructions:

  1. Start Squareline Studio.
  2. The application might now prompt you to either click a "CONTINUE WITH TRIAL" button or else "LOG IN". Complete this dialog as appropriate.
  3. You will now see a project management dialog. Click the "Create" button at the top of the dialog.
  4. You will now see a list of project types near the top of the dialog. Select "Arduino".
  5. You will now see the list of "board" types for Arduino projects. Click on "Arduino with TFT_eSPI" (it is the only available "board" type for Arduino projects).
  6. Scroll down in the panel on the right side of the dialog to the "PROJECT SETTINGS" section.
  7. Type a meaningful name for your project in the "Project name" field.
  8. Type 800 in the first field following the "Resolution" setting.
  9. Type 480 in the second field following the "Resolution" setting.
  10. Select "16 bit" from the "Color depth" menu.
  11. Click the "CREATE" button at the bottom of the panel.
    The new project will now open in the SquareLine Studio project editor.
  12. Click on the "Label" button under the "Widgets" panel at the bottom right corner of the window.
    The label "Text" will be added in the "Screen1" panel.
  13. On the right panel of the window, you will see the settings for the added "Label" widget. Type Hello, world! in the "Text" field.

That should be enough of a project to get started. Now follow the instructions from my previous reply to export the UI files as an Arduino library. After that, upload the "squarelinestudio_lvgl" example sketch to your GIGA R1 WiFi. Hopefully you will see the "Hello, world!" label from your SquareLine Studio project on the Giga Display Shield.

You make it yourself!

Here it is:

https://docs.arduino.cc/tutorials/giga-display-shield/lvgl-guide/

You should also take a look at the other tutorials for the GIGA Display Shield:

https://docs.arduino.cc/hardware/giga-display-shield/#tutorials

The author of the example did include UI files with the example sketch, but the documentation developers chose this approach of requiring the UI files to be installed as a standalone library instead of making them an integrated part of the sketch project. The reason is that Arduino Cloud doesn't support the required feature of bundling libraries in the src subfolder of the sketch, as you can do in Arduino IDE.

You can use the UI files that are included with the example sketch, but you still need to install them manually. I decided doing that was going to be just as complicated as exporting your own project from SquareLine Studio. The skill of exporting the UI files from a SquareLine Studio project is something you will need anyway once you get into your real projects, whereas the skill of manually installing the UI files that were included with the example is pretty much worthless afterwards since you probably won't perform that procedure

Thank you, Thank You!

I think, possible I wll eventually be able to follow your Squareline getting started steps.
I see LVGL is no longer colaborating with Squareline so I do not know what this will mean in the future.

I installed the 8.3.1 LVGL library.
Now the furnish example sketches compile!
This "should" enable me to do what I need to do looking at the examples.
Thank you agin for your patience!

Maybe someday the GiGa libraryies will get updated and I will have access to the newest LVGL
library, but for now I think this will work.
Ralph

You are welcome.

Although they are no longer officially collaborating, there is nothing to prevent SquareLine Studio from continuing to provide support for LVGL, and this is exactly what they have stated their intention is:

But it might be worth doing a survey to see if there are any (hopefully free open source) alternatives that meet your needs.

That day is today! "Arduino Mbed OS Giga Boards" platform version 4.1.3 has now been released with support for LVGL 9.x. It is available for update in Arduino IDE Boards Manager.

SquareLine Studio still doesn't have LVGL 9.x compatibility, so you should not update the "lvgl" library if you want to continue to use SquareLine Studio. It sounds like they plan to release a new version with LVGL 9.x support soon:

"Arduino Mbed OS Giga Boards" platform version 4.1.3 has backwards support for LVGL 8.x, so you can safely update the platform without fear of breaking compatibility with LVGL or SquareLine Studio.

Thanks, I have compiled the first example with the latest Mbedd OS Giga Boards update and LVGL 9.1

I cannot believe how long it takes to compile a sketch. The Giga supposedly has a fast processor but it still takes a long time.

Now I need to find some code that implements an ON/OFF button and gives me a RPM reading.

Thanks again for your help!

Ralph