Hello I think the people are nice in this form Thank you for this
Hi
I use PlatformIO
Quit often I see the following expression
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif
Is this directing to another version of lvgl/lvgl.h"
With “lvgl.h” my Windows App works fine and I think I know a tiny little bit how the Code Works, but the next step is to write code for the ESP32 and that is more complicated. When I switch to the ESP32 environment I get a lot of errors.
It’s because not everyone has their include paths configured the same way. There is only one lvgl.h
file in LVGL, but some users have their include path set to the parent directory (meaning they would have to include lvgl/lvgl.h
) and others have it set to the lvgl
folder (meaning they only need to include lvgl.h
). The setting is provided to allow choosing between these.
I know this is an older thread however I’ve not found anything further on this topic and I’m experiencing this with EEZ Studio.
For the record, I’ve found if you go to Settings
> Build
> LVGL include
, the include can be changed from lvgl/lvgl.h
to lvgl.h
and the exported UI code uses #include <lvgl.h>
as expected.