lvgl / lv_port_win_codeblocks

Windows PC simulator project for LVGL embedded GUI Library
MIT License
127 stars 79 forks source link

build error #51

Open yjw1617 opened 1 month ago

yjw1617 commented 1 month ago

How to solve the following problem, tanks ||=== Build: Debug in LittlevGL (compiler: GNU GCC Compiler) ===| lvgl\demos\benchmark\assets\img_benchmark_cogwheel_alpha256.c|1|fatal error: ../../../lvgl.h: No such file or directory| lvgl\demos\benchmark\assets\img_benchmark_cogwheel_argb.c|1|fatal error: ../../../lvgl.h: No such file or directory| lvgl\demos\benchmark\assets\img_benchmark_cogwheel_indexed16.c|1|fatal error: ../../../lvgl.h: No such file or directory| lvgl\demos\benchmark\assets\lv_font_benchmark_montserrat_12_compr_az.c.c|1|fatal error: ../../../lvgl.h: No such file or directory| lvgl\demos\benchmark\assets\img_benchmark_cogwheel_rgb.c|1|fatal error: ../../../lvgl.h: No such file or directory| lvgl\demos\benchmark\assets\lv_font_benchmark_montserrat_16_compr_az.c.c|1|fatal error: ../../../lvgl.h: No such file or directory| lvgl\demos\benchmark\assets\lv_font_benchmark_montserrat_28_compr_az.c.c|1|fatal error: ../../../lvgl.h: No such file or directory| lvgl\demos\benchmark\lv_demo_benchmark.c|9|fatal error: lv_demo_benchmark.h: No such file or directory| lvgl\demos\flex_layout\lv_demo_flex_layout_ctrl_pad.c|10|fatal error: lv_demo_flex_layout_main.h: No such file or directory| lvgl\demos\flex_layout\lv_demo_flex_layout_flex_loader.c|10|fatal error: lv_demo_flex_layout_main.h: No such file or directory| lvgl\demos\flex_layout\lv_demo_flex_layout_main.c|10|fatal error: lv_demo_flex_layout_main.h: No such file or directory| ||=== Build failed: 11 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===| lvgl\demos\flex_layout\lv_demo_flex_layout_view.c|10|fatal error: lv_demo_flex_layout_main.h: No such file or directory| ||=== Build failed: 12 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|

100ask commented 1 month ago

Please check if there are any files in the lvgl directory, like this: image

If the file is missing, please execute the git command in the lv_port_win_codeblocksdirectory:

git submodule update --init --recursive