-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
lvgl/src/../src/lv_conf_internal.h:59:18: fatal error: ../../lv_conf.h: No such file or directory #6000
Comments
Hi, Did you followed the instructions available in the docs? They mention where to place the |
The documents have a search box, but I didn't find specifically about the lv_conf.h file.
https://docs.lvgl.io/master/API/lv_conf_internal.html I tried editing the address, but it returned a 404 error, 'File not found': |
Thanks, I'll test it as soon as possible. |
Hi, I tried following the instructions in the document, but I didn't find the folder path.
Then I tried to put the file in the /lvgl/src folder, then it compiled. But now it is asking for the file 'demos/lv_demos.h' Is there no way for the user to generate these files automatically? Or is the example in question customized beyond what the lvgl library proposes? |
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. |
I'm sorry, I missed your reply 🙁
Which is the folder that you haven't found? |
|
It's not ideal for sure, but I have no better idea. 🙁 |
I don't really understand the reason for using the root folder, since the lvgl folder has a file called lv_conf_template.h, wouldn't it be easier for the user to just create a copy of that lv_conf_template.h file in this same lvgl folder and rename it to lv_conf.h, keeping both files inside the lvgl folder? |
Hm, interesting idea. Normally our intention is to keep We can consider using #if defined(__ARDUINO__)
#include "../lv_conf.h" //instead of ../../lv_conf.h
#endif but it will break existing projects. |
Indeed, now that it is in use in this way, projects should break. It may be interesting to use #warning to guide the user to use the alternative path. I don't know if there is a way to test the existence of the file using #if, perhaps adding some version definition for "watershed" control, from that version the file is located in that folder. |
If I'm not mistaken your |
It is interesting to consult the Arduino forum to find out what the alternatives are, I know that there are several possible installation locations for Arduino IDE libraries. For example, the folder inside the IDE installation will be overwritten when updating the IDE. |
Hello, I tried to compile again the example, and some errors occurred. Have the codes changed a lot since 9 months ago when the example was posted?
Complete log:
|
The compilation using old libraries worked, thank you. |
LVGL version
The latest version available on GitHub
What happened?
I bought a display and I'm trying to compile the demo project, but an error occurs that a file is missing. Does anyone know how to generate this file?
https://www.aliexpress.com/item/1005005865107357.html
lvgl/src/../src/lv_conf_internal.h:59:18: fatal error: ../../lv_conf.h: No such file or directory
How to reproduce?
https://github.com/NoosaHydro/2.4inch_ESP32-2432S024/blob/main/1-Demo/Demo_Arduino/1_2_Factory_samples_Capacitive_touch/Factory_samples_Capacitive_touch/Factory_samples_Capacitive_touch.ino
The text was updated successfully, but these errors were encountered: