lvgl / lv_port_linux

LVGL configured to work with a standard Linux framebuffer
MIT License
260 stars 160 forks source link

lvgl/lvgl.h: No such file or directory #11

Closed andreacampanella closed 3 years ago

andreacampanella commented 3 years ago

I was just trying to compile the latest release :

CC /home/andrea/gui/v8/lv_port_linux_frame_buffer/lvgl/examples/get_started/lv_example_get_started_3.c CC /home/andrea/gui/v8/lv_port_linux_frame_buffer/lvgl/examples/get_started/lv_example_get_started_2.c CC /home/andrea/gui/v8/lv_port_linux_frame_buffer/lvgl/examples/get_started/lv_example_get_started_1.c /home/andrea/gui/v8/lv_port_linux_frame_buffer/lvgl/examples/assets/imgbtn_mid.c:4:10: fatal error: lvgl/lvgl.h: No such file or directory

include "lvgl/lvgl.h"

      ^~~~~~~~~~~~~

compilation terminated. Makefile:34: recipe for target '/home/andrea/gui/v8/lv_port_linux_frame_buffer/lvgl/examples/assets/imgbtn_mid.o' failed make: *** [/home/andrea/gui/v8/lv_port_linux_frame_buffer/lvgl/examples/assets/imgbtn_mid.o] Error 1

kisvegabor commented 3 years ago

You need to add the parent folder of the lvgl directory as an include path. E.g. -Imy_project/gui

stale[bot] commented 3 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.