Author: frank

Compiling node-canvas with Node 20 fails with ‘v8::AccessorSignature’ has not been declared 0

Compiling node-canvas with Node 20 fails with ‘v8::AccessorSignature’ has not been declared

/home/frank/.cache/node-gyp/20.19.0/include/node/v8-persistent-handle.h:498:14: warning: array subscript 0 is outside array bounds of ‘Nan::Persistent<v8::Object> [0]’ [-Warray-bounds]   498 |   this->val_ = New(isolate, internal::ValueHelper::ValueAsSlot(*other));       |   ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   CXX(target) Release/obj.target/canvas/src/backend/ImageBackend.o   CXX(target) Release/obj.target/canvas/src/backend/PdfBackend.o   CXX(target) Release/obj.target/canvas/src/backend/SvgBackend.o   CXX(target)...

LVGL_Music.cpp:323:20: error: 'lv_obj_get_style_opa_recursive' was not declared in this scope; did you mean 'lv_obj_get_style_img_recolor'? 0

LVGL_Music.cpp:323:20: error: 'lv_obj_get_style_opa_recursive' was not declared in this scope; did you mean 'lv_obj_get_style_img_recolor'?

/home/frank/dev/LCD_1.46_LVGL_Arduino/LVGL_Music.cpp: In function 'void spectrum_draw_event_cb(lv_event_t*)': /home/frank/dev/LCD_1.46_LVGL_Arduino/LVGL_Music.cpp:323:20: error: 'lv_obj_get_style_opa_recursive' was not declared in this scope; did you mean 'lv_obj_get_style_img_recolor'? 323 | lv_opa_t opa = lv_obj_get_style_opa_recursive(obj, LV_PART_MAIN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | lv_obj_get_style_img_recolor Multiple libraries were found for...