V8 unknown type name 'lv_disp_buf_t'

Important: unclear posts may not receive useful answers.

Before posting

  • Get familiar with Markdown to format and structure your post
  • Be sure to update lvgl from the latest version from the master branch.
  • Read the

Delete this section if you read and applied the mentioned points.

Description

Hello, i download the latest Version. The old Project with V7 are ok.
But now, on compiling, the Compiler put out this error on the Console:

…/Core/Src/main.c:58:8: error: unknown type name ‘lv_disp_buf_t’

I only changed the Sources from lvgl.

What MCU/Processor/Board and compiler are you using?

STM32F407 Custum Board with SSD1963 with STM32CubeIDE V1.61

What do you want to achieve?

What have you tried so far?

Code to reproduce

Add the relevant code snippets here.

The code block(s) should be between ```c and ``` tags:

/* USER CODE BEGIN PV */
static lv_disp_buf_t disp_buf;
static lv_color_t buf[LV_HOR_RES_MAX * 10];

/* USER CODE END PV */

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

Some types have been renamed in v8 - I recommend using the display porting example as a reference.

From where i find “lv_obj_class_t”?, bcz i am getting error as unknown type name “lv_obj_class_t”.

lv_obj_class_t definitely exists in v8. If it is missing, you may still be using v7.