lvgl / lv_port_win_codeblocks

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

../../lv_demo.h: No such file or directory #26

Open SlowTypist opened 2 years ago

SlowTypist commented 2 years ago

It's funny, cause this worked on my home machine, but laptop gives me trouble. Maaaaaybe has something to do with the fact I have cygwin install in the system, but then again I tried to remove it from path and to explicitely set the mingw version of files in the Toolchain setting.

||=== Build: Debug in LittlevGL (compiler: GNU GCC Compiler) ===| C:\Users\Valeriy\Downloads\lv_sim_codeblocks_win\lv_demos\src\lv_demo_benchmark\assets\img_benchmark_cogwheel_alpha16.c|1|fatal error: ../../lv_demo.h: No such file or directory| C:\Users\Valeriy\Downloads\lv_sim_codeblocks_win\lv_demos\src\lv_demo_benchmark\assets\img_benchmark_cogwheel_argb.c|1|fatal error: ../../lv_demo.h: No such file or directory| C:\Users\Valeriy\Downloads\lv_sim_codeblocks_win\lv_demos\src\lv_demo_benchmark\assets\img_benchmark_cogwheel_chroma_keyed.c|1|fatal error: ../../lv_demo.h: No such file or directory| C:\Users\Valeriy\Downloads\lv_sim_codeblocks_win\lv_demos\src\lv_demo_benchmark\assets\img_benchmark_cogwheel_indexed16.c|1|fatal error: ../../lv_demo.h: No such file or directory| ||=== Build failed: 4 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===| C:\Users\Valeriy\Downloads\lv_sim_codeblocks_win\lv_demos\src\lv_demo_benchmark\assets\lv_font_montserrat_12_compr_az.c|1|fatal error: ../../lv_demo.h: No such file or directory| ||=== Build failed: 5 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===| C:\Users\Valeriy\Downloads\lv_sim_codeblocks_win\lv_demos\src\lv_demo_benchmark\assets\img_benchmark_cogwheel_rgb.c|1|fatal error: ../../lv_demo.h: No such file or directory| ||=== Build failed: 6 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===| C:\Users\Valeriy\Downloads\lv_sim_codeblocks_win\lv_demos\src\lv_demo_benchmark\assets\lv_font_montserrat_28_compr_az.c|1|fatal error: ../../lv_demo.h: No such file or directory| ||=== Build failed: 7 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===| C:\Users\Valeriy\Downloads\lv_sim_codeblocks_win\lv_demos\src\lv_demo_benchmark\assets\lv_font_montserrat_16_compr_az.c|1|fatal error: ../../lv_demo.h: No such file or directory| ||=== Build failed: 8 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

If I go to Header/lv_demos/src/ , Right-Click the lv_demo.h (which is grayed out), go Options->Enable both, then I get ||=== Build: Debug in LittlevGL (compiler: GNU GCC Compiler) ===| C:\Users\Valeriy\Downloads\lv_sim_codeblocks_win\lv_demos\src\lv_demo.h|17|fatal error: ../lv_demo.h: No such file or directory| ||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

and so on it goes. Somewhere down the road it comes to headers, which are not found even if I do the Options-> Enable both thing.

stale[bot] commented 2 years ago

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

chanvenjoe commented 2 years ago

Mail have been received, thank you.

stale[bot] commented 1 year ago

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

HossamTarek-bits commented 4 months ago

@SlowTypist If you used their command to get clone the folder lvgl won't get cloned to your folder since it's a submodule so add --recurse-submodules -j8 to the command to clone the submodule as well