New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect Relative Path for Including lvgl.h in lv_rnd_unicodes.h #6117
Labels
Comments
kisvegabor
added a commit
to kisvegabor/lvgl_upstream
that referenced
this issue
Apr 28, 2024
Hi, Thank you for reporting it! I've fixed it here: #6141
|
We need some feedback on this issue. Now we mark this as "stale" because there was no activity here for 14 days. Remove the "stale" label or comment else this will be closed in 7 days. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LVGL version
v9.1
What happened?
Environment:
Operating System: Linux
Library Version: V9.1
Description:
The file
lv_rnd_unicodes.h
incorrectly uses a relative path to include thelvgl.h
header file. The current include statement #include "../lvgl.h
" fails becauselvgl.h
is not located in the specified path. This could lead to compilation errors when the header is included in projects.How to reproduce?
Steps to Reproduce:
Set up a project including the LVGL library.
Attempt to include
lv_rnd_unicodes.h
in any source file.Compile the project.
Observe the compilation error related to the missing
lvgl.h
file.Proposed Fix:
Change the include statement from:
#include "../lvgl.h"
to an absolute path based on the typical project structure:
#include "lvgl/lvgl.h"
Impact:
This change would prevent compilation errors and improve the usability of the library in diverse project setups.
The text was updated successfully, but these errors were encountered: