Advertisement
nBiker77

Untitled

Dec 20th, 2024
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 7.11 KB | None | 0 0
  1. varona@rpizero:~/dsv/c++/gui-2/build $ make
  2. Scanning dependencies of target lvgl_rpi_project
  3. [ 50%] Building CXX object CMakeFiles/lvgl_rpi_project.dir/main.cpp.o
  4. In file included from /home/nvarona/dsv/c++/gui-2/lvgl/lvgl.h:128,
  5.                  from /home/nvarona/dsv/c++/gui-2/main.cpp:2:
  6. /usr/local/include/lvgl/src/lv_api_map_v8.h:49:37: error: conflicting declaration ‘typedef int32_t lv_coord_t’
  7.    49 | typedef int32_t                     lv_coord_t;
  8.       |                                     ^~~~~~~~~~
  9. In file included from /home/nvarona/dsv/c++/gui-2/main.cpp:1:
  10. /home/nvarona/dsv/c++/gui-2/lv_conf.h:25:17: note: previous declaration as ‘typedef int16_t lv_coord_t’
  11.    25 | typedef int16_t lv_coord_t;
  12.       |                 ^~~~~~~~~~
  13. /home/nvarona/dsv/c++/gui-2/main.cpp:23:13: error: variable or field ‘input_read_cb’ declared void
  14.    23 | static void input_read_cb(lv_indev_drv_t *drv, lv_indev_data_t *data) {
  15.       |             ^~~~~~~~~~~~~
  16. /home/nvarona/dsv/c++/gui-2/main.cpp:23:27: error: ‘lv_indev_drv_t’ was not declared in this scope; did you mean ‘lv_indev_data_t’?
  17.    23 | static void input_read_cb(lv_indev_drv_t *drv, lv_indev_data_t *data) {
  18.       |                           ^~~~~~~~~~~~~~
  19.       |                           lv_indev_data_t
  20. /home/nvarona/dsv/c++/gui-2/main.cpp:23:43: error: ‘drv’ was not declared in this scope
  21.    23 | static void input_read_cb(lv_indev_drv_t *drv, lv_indev_data_t *data) {
  22.       |                                           ^~~
  23. /home/nvarona/dsv/c++/gui-2/main.cpp:23:64: error: expected primary-expression before ‘*’ token
  24.    23 | static void input_read_cb(lv_indev_drv_t *drv, lv_indev_data_t *data) {
  25.       |                                                                ^
  26. /home/nvarona/dsv/c++/gui-2/main.cpp:23:65: error: ‘data’ was not declared in this scope; did you mean ‘std::data’?
  27.    23 | static void input_read_cb(lv_indev_drv_t *drv, lv_indev_data_t *data) {
  28.       |                                                                 ^~~~
  29.       |                                                                 std::data
  30. In file included from /usr/include/c++/10/array:41,
  31.                  from /usr/include/c++/10/tuple:39,
  32.                  from /usr/include/c++/10/bits/unique_ptr.h:37,
  33.                  from /usr/include/c++/10/memory:83,
  34.                  from /usr/include/c++/10/thread:44,
  35.                  from /home/nvarona/dsv/c++/gui-2/main.cpp:5:
  36. /usr/include/c++/10/bits/range_access.h:319:5: note: ‘std::data’ declared here
  37.   319 |     data(initializer_list<_Tp> __il) noexcept
  38.       |     ^~~~
  39. /home/nvarona/dsv/c++/gui-2/main.cpp:106:13: error: variable or field ‘flush_cb’ declared void
  40.   106 | static void flush_cb(lv_disp_drv_t *disp_drv, const lv_area_t *area,
  41.       |             ^~~~~~~~
  42. /home/nvarona/dsv/c++/gui-2/main.cpp:106:22: error: ‘lv_disp_drv_t’ was not declared in this scope; did you mean ‘lv_fs_drv_t’?
  43.   106 | static void flush_cb(lv_disp_drv_t *disp_drv, const lv_area_t *area,
  44.       |                      ^~~~~~~~~~~~~
  45.       |                      lv_fs_drv_t
  46. /home/nvarona/dsv/c++/gui-2/main.cpp:106:37: error: ‘disp_drv’ was not declared in this scope
  47.   106 | static void flush_cb(lv_disp_drv_t *disp_drv, const lv_area_t *area,
  48.       |                                     ^~~~~~~~
  49. /home/nvarona/dsv/c++/gui-2/main.cpp:106:47: error: expected primary-expression before ‘const’
  50.   106 | static void flush_cb(lv_disp_drv_t *disp_drv, const lv_area_t *area,
  51.       |                                               ^~~~~
  52. /home/nvarona/dsv/c++/gui-2/main.cpp:107:33: error: expected primary-expression before ‘*’ token
  53.   107 |                      lv_color_t *color_p) {
  54.       |                                 ^
  55. /home/nvarona/dsv/c++/gui-2/main.cpp:107:34: error: ‘color_p’ was not declared in this scope
  56.   107 |                      lv_color_t *color_p) {
  57.       |                                  ^~~~~~~
  58. /home/nvarona/dsv/c++/gui-2/main.cpp: In function ‘int main()’:
  59. /home/nvarona/dsv/c++/gui-2/main.cpp:152:10: error: ‘lv_disp_draw_buf_t’ does not name a type; did you mean ‘lv_draw_buf_t’?
  60.   152 |   static lv_disp_draw_buf_t draw_buf;
  61.       |          ^~~~~~~~~~~~~~~~~~
  62.       |          lv_draw_buf_t
  63. /home/nvarona/dsv/c++/gui-2/main.cpp:154:26: error: ‘draw_buf’ was not declared in this scope
  64.   154 |   lv_disp_draw_buf_init(&draw_buf, buf1, NULL, 320 * 10);
  65.       |                          ^~~~~~~~
  66. /home/nvarona/dsv/c++/gui-2/main.cpp:154:3: error: ‘lv_disp_draw_buf_init’ was not declared in this scope; did you mean ‘lv_draw_buf_init’?
  67.   154 |   lv_disp_draw_buf_init(&draw_buf, buf1, NULL, 320 * 10);
  68.       |   ^~~~~~~~~~~~~~~~~~~~~
  69.       |   lv_draw_buf_init
  70. /home/nvarona/dsv/c++/gui-2/main.cpp:156:10: error: ‘lv_disp_drv_t’ does not name a type; did you mean ‘lv_fs_drv_t’?
  71.   156 |   static lv_disp_drv_t disp_drv;
  72.       |          ^~~~~~~~~~~~~
  73.       |          lv_fs_drv_t
  74. /home/nvarona/dsv/c++/gui-2/main.cpp:157:21: error: ‘disp_drv’ was not declared in this scope
  75.   157 |   lv_disp_drv_init(&disp_drv);
  76.       |                     ^~~~~~~~
  77. /home/nvarona/dsv/c++/gui-2/main.cpp:157:3: error: ‘lv_disp_drv_init’ was not declared in this scope; did you mean ‘lv_fs_drv_init’?
  78.   157 |   lv_disp_drv_init(&disp_drv);
  79.       |   ^~~~~~~~~~~~~~~~
  80.       |   lv_fs_drv_init
  81. /home/nvarona/dsv/c++/gui-2/main.cpp:158:23: error: ‘flush_cb’ was not declared in this scope
  82.   158 |   disp_drv.flush_cb = flush_cb;
  83.       |                       ^~~~~~~~
  84. /home/nvarona/dsv/c++/gui-2/main.cpp:162:3: error: ‘lv_disp_drv_register’ was not declared in this scope; did you mean ‘lv_fs_drv_register’?
  85.   162 |   lv_disp_drv_register(&disp_drv);
  86.       |   ^~~~~~~~~~~~~~~~~~~~
  87.       |   lv_fs_drv_register
  88. /home/nvarona/dsv/c++/gui-2/main.cpp:164:10: error: ‘lv_indev_drv_t’ does not name a type; did you mean ‘lv_indev_data_t’?
  89.   164 |   static lv_indev_drv_t indev_drv;
  90.       |          ^~~~~~~~~~~~~~
  91.       |          lv_indev_data_t
  92. /home/nvarona/dsv/c++/gui-2/main.cpp:165:22: error: ‘indev_drv’ was not declared in this scope
  93.   165 |   lv_indev_drv_init(&indev_drv);
  94.       |                      ^~~~~~~~~
  95. /home/nvarona/dsv/c++/gui-2/main.cpp:165:3: error: ‘lv_indev_drv_init’ was not declared in this scope; did you mean ‘lv_fs_drv_init’?
  96.   165 |   lv_indev_drv_init(&indev_drv);
  97.       |   ^~~~~~~~~~~~~~~~~
  98.       |   lv_fs_drv_init
  99. /home/nvarona/dsv/c++/gui-2/main.cpp:167:23: error: ‘input_read_cb’ was not declared in this scope
  100.   167 |   indev_drv.read_cb = input_read_cb;
  101.       |                       ^~~~~~~~~~~~~
  102. /home/nvarona/dsv/c++/gui-2/main.cpp:168:3: error: ‘lv_indev_drv_register’ was not declared in this scope; did you mean ‘lv_fs_drv_register’?
  103.   168 |   lv_indev_drv_register(&indev_drv);
  104.       |   ^~~~~~~~~~~~~~~~~~~~~
  105.       |   lv_fs_drv_register
  106. make[2]: *** [CMakeFiles/lvgl_rpi_project.dir/build.make:82: CMakeFiles/lvgl_rpi_project.dir/main.cpp.o] Error 1
  107. make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/lvgl_rpi_project.dir/all] Error 2
  108. make: *** [Makefile:103: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement