Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- varona@rpizero:~/dsv/c++/gui-2/build $ make
- Scanning dependencies of target lvgl_rpi_project
- [ 50%] Building CXX object CMakeFiles/lvgl_rpi_project.dir/main.cpp.o
- In file included from /home/nvarona/dsv/c++/gui-2/lvgl/lvgl.h:128,
- from /home/nvarona/dsv/c++/gui-2/main.cpp:2:
- /usr/local/include/lvgl/src/lv_api_map_v8.h:49:37: error: conflicting declaration ‘typedef int32_t lv_coord_t’
- 49 | typedef int32_t lv_coord_t;
- | ^~~~~~~~~~
- In file included from /home/nvarona/dsv/c++/gui-2/main.cpp:1:
- /home/nvarona/dsv/c++/gui-2/lv_conf.h:25:17: note: previous declaration as ‘typedef int16_t lv_coord_t’
- 25 | typedef int16_t lv_coord_t;
- | ^~~~~~~~~~
- /home/nvarona/dsv/c++/gui-2/main.cpp:23:13: error: variable or field ‘input_read_cb’ declared void
- 23 | static void input_read_cb(lv_indev_drv_t *drv, lv_indev_data_t *data) {
- | ^~~~~~~~~~~~~
- /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’?
- 23 | static void input_read_cb(lv_indev_drv_t *drv, lv_indev_data_t *data) {
- | ^~~~~~~~~~~~~~
- | lv_indev_data_t
- /home/nvarona/dsv/c++/gui-2/main.cpp:23:43: error: ‘drv’ was not declared in this scope
- 23 | static void input_read_cb(lv_indev_drv_t *drv, lv_indev_data_t *data) {
- | ^~~
- /home/nvarona/dsv/c++/gui-2/main.cpp:23:64: error: expected primary-expression before ‘*’ token
- 23 | static void input_read_cb(lv_indev_drv_t *drv, lv_indev_data_t *data) {
- | ^
- /home/nvarona/dsv/c++/gui-2/main.cpp:23:65: error: ‘data’ was not declared in this scope; did you mean ‘std::data’?
- 23 | static void input_read_cb(lv_indev_drv_t *drv, lv_indev_data_t *data) {
- | ^~~~
- | std::data
- In file included from /usr/include/c++/10/array:41,
- from /usr/include/c++/10/tuple:39,
- from /usr/include/c++/10/bits/unique_ptr.h:37,
- from /usr/include/c++/10/memory:83,
- from /usr/include/c++/10/thread:44,
- from /home/nvarona/dsv/c++/gui-2/main.cpp:5:
- /usr/include/c++/10/bits/range_access.h:319:5: note: ‘std::data’ declared here
- 319 | data(initializer_list<_Tp> __il) noexcept
- | ^~~~
- /home/nvarona/dsv/c++/gui-2/main.cpp:106:13: error: variable or field ‘flush_cb’ declared void
- 106 | static void flush_cb(lv_disp_drv_t *disp_drv, const lv_area_t *area,
- | ^~~~~~~~
- /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’?
- 106 | static void flush_cb(lv_disp_drv_t *disp_drv, const lv_area_t *area,
- | ^~~~~~~~~~~~~
- | lv_fs_drv_t
- /home/nvarona/dsv/c++/gui-2/main.cpp:106:37: error: ‘disp_drv’ was not declared in this scope
- 106 | static void flush_cb(lv_disp_drv_t *disp_drv, const lv_area_t *area,
- | ^~~~~~~~
- /home/nvarona/dsv/c++/gui-2/main.cpp:106:47: error: expected primary-expression before ‘const’
- 106 | static void flush_cb(lv_disp_drv_t *disp_drv, const lv_area_t *area,
- | ^~~~~
- /home/nvarona/dsv/c++/gui-2/main.cpp:107:33: error: expected primary-expression before ‘*’ token
- 107 | lv_color_t *color_p) {
- | ^
- /home/nvarona/dsv/c++/gui-2/main.cpp:107:34: error: ‘color_p’ was not declared in this scope
- 107 | lv_color_t *color_p) {
- | ^~~~~~~
- /home/nvarona/dsv/c++/gui-2/main.cpp: In function ‘int main()’:
- /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’?
- 152 | static lv_disp_draw_buf_t draw_buf;
- | ^~~~~~~~~~~~~~~~~~
- | lv_draw_buf_t
- /home/nvarona/dsv/c++/gui-2/main.cpp:154:26: error: ‘draw_buf’ was not declared in this scope
- 154 | lv_disp_draw_buf_init(&draw_buf, buf1, NULL, 320 * 10);
- | ^~~~~~~~
- /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’?
- 154 | lv_disp_draw_buf_init(&draw_buf, buf1, NULL, 320 * 10);
- | ^~~~~~~~~~~~~~~~~~~~~
- | lv_draw_buf_init
- /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’?
- 156 | static lv_disp_drv_t disp_drv;
- | ^~~~~~~~~~~~~
- | lv_fs_drv_t
- /home/nvarona/dsv/c++/gui-2/main.cpp:157:21: error: ‘disp_drv’ was not declared in this scope
- 157 | lv_disp_drv_init(&disp_drv);
- | ^~~~~~~~
- /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’?
- 157 | lv_disp_drv_init(&disp_drv);
- | ^~~~~~~~~~~~~~~~
- | lv_fs_drv_init
- /home/nvarona/dsv/c++/gui-2/main.cpp:158:23: error: ‘flush_cb’ was not declared in this scope
- 158 | disp_drv.flush_cb = flush_cb;
- | ^~~~~~~~
- /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’?
- 162 | lv_disp_drv_register(&disp_drv);
- | ^~~~~~~~~~~~~~~~~~~~
- | lv_fs_drv_register
- /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’?
- 164 | static lv_indev_drv_t indev_drv;
- | ^~~~~~~~~~~~~~
- | lv_indev_data_t
- /home/nvarona/dsv/c++/gui-2/main.cpp:165:22: error: ‘indev_drv’ was not declared in this scope
- 165 | lv_indev_drv_init(&indev_drv);
- | ^~~~~~~~~
- /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’?
- 165 | lv_indev_drv_init(&indev_drv);
- | ^~~~~~~~~~~~~~~~~
- | lv_fs_drv_init
- /home/nvarona/dsv/c++/gui-2/main.cpp:167:23: error: ‘input_read_cb’ was not declared in this scope
- 167 | indev_drv.read_cb = input_read_cb;
- | ^~~~~~~~~~~~~
- /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’?
- 168 | lv_indev_drv_register(&indev_drv);
- | ^~~~~~~~~~~~~~~~~~~~~
- | lv_fs_drv_register
- make[2]: *** [CMakeFiles/lvgl_rpi_project.dir/build.make:82: CMakeFiles/lvgl_rpi_project.dir/main.cpp.o] Error 1
- make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/lvgl_rpi_project.dir/all] Error 2
- make: *** [Makefile:103: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement