Unable to use new lv_examples

Hi Team,

i would like to update lv_examples from https://github.com/lvgl/lv_examples

followed the process given in github

  1. Clone this repository: git clone https://github.com/lvgl/lv_examples.git .
  2. The lv_examples directory should be next to the lvgl directory in your project.

Similarly to lv_conf.h there is a configuration file for the examples too. It is called lv_ex_conf.h .

  1. Copy lv_examples/lv_ex_conf_templ.h next to lv_examples directory
  2. Rename is to lv_ex_conf.h
  3. Change the first #if 0 to #if 1 to enable the file’s content
  4. Enable or Disable modules

and compiled the code i’m getting following error : #error “lv_examples: Wrong lvgl version” in lv_examples.h file

my current version is

How to update LVGL to latest version.

can you please help me with this.
Thanks in Advance.

You’ll need to use the release/v6 branch of lv_examples or update LVGL to version 7.0+. If you’re working with an existing project I suggest the former, as 7.0 will require you to rewrite many of your object styles.

I’d also suggest updating LVGL to its release/v6 branch, as that will give you 6.1, which should be fully backwards-compatible with 6.0 and includes several bugfixes.

How can i update LVGL to version 7.0+ ?

can you please tell me the process.

Thanks in Advance

You can download a new version from GitHub.

Thank You for your support