A lot of errors in the lv_example_label_1(void)

Here the code from
I did a remark what kind of error



 * Show line wrap, re-color, line align and text scrolling.


void lv_example_label_1(void)


    lv_obj_t * label1 = lv_label_create(lv_scr_act()); // error: too few arguments to function 'lv_label_create'

    lv_label_set_long_mode(label1, LV_LABEL_LONG_WRAP);  //'LV_LABEL_LONG_WRAP' undeclared (first use in this function); did you mean 'LV_LABEL_LONG_CROP'?
   lv_label_set_recolor(label1, true);                    

    lv_label_set_text(label1, "#0000ff Re-color# #ff00ff words# #ff0000 of a# label, align the lines to the center "

                              "and wrap long text automatically.");

    lv_obj_set_width(label1, 150);  /*Set smaller width to make the lines wrap*/
    lv_obj_set_style_text_align(label1, LV_TEXT_ALIGN_CENTER, 0);
    lv_obj_align(label1, LV_ALIGN_CENTER, 0, -40); //error: too few arguments to function 'lv_obj_align'
    lv_obj_t * label2 = lv_label_create(lv_scr_act()); 
    lv_label_set_long_mode(label2, LV_LABEL_LONG_SCROLL_CIRCULAR);     //  error: 'LV_LABEL_LONG_SCROLL_CIRCULAR' undeclared (first use in this function); did you mean 'LV_LABEL_LONG_SROLL_CIRC'?

    lv_obj_set_width(label2, 150);
    lv_label_set_text(label2, "It is a circularly scrolling text. ");
    lv_obj_align(label2, LV_ALIGN_CENTER, 0, 40);


I use LVGL 8.0
What do I miss ?

You might be using an outdated snapshot of v8. Currently the latest version is commit 1a3e704b253.

Thank you I will try it

In the example lv_example_textarea_1.c we still have
lv_obj_t * ta = lv_textarea_create(lv_scr_act());

but the new prototype
lv_obj_t * lv_textarea_create(lv_obj_t * par, const lv_obj_t * copy)
when the examples get updated ?

The two-parameter prototype is the old one. As you can see here, latest master just has one parameter.