STM-CUBE Include paths need adjustment
LVGL version
D:\github.com\lvgl>git describe v9.3.0-1416-g6e20aab4c
Platform
Compiling using STM Cube under Windows 11. Copied src/ and include/ under Middlewares/lvgl Updated include paths
What happened?
I got the following compile errors which seem to point to relative include paths not updated to new standard. I fixed as described and the compile is now successful. On review I suspect that this is all an artifact of the refactoring going on and think this is the correct fix. Have not tested further but expect it all to be good.
// Some errors remain many of which are linker errors, relating to the following // ./Middlewares/lvgl/src/libs/qrcode/qrcodegen.h:26:10: fatal error: ../../../lvgl.h: No such file or directory // ../Middlewares/lvgl/src/libs/lodepng/lodepng.h:33:10: fatal error: ../../../lvgl.h: No such file or directory // ../Middlewares/lvgl/src/libs/barcode/code128.c:23:10: fatal error: ../../../lvgl.h: No such file or directory // ../Middlewares/lvgl/src/image/svg/lv_svg_render.c:10:10: fatal error: ../../../lvgl.h: No such file or directory // ../Middlewares/lvgl/src/image/lv_bmp.c:10:10: fatal error: ../../lvgl.h: No such file or directory // ../Middlewares/lvgl/src/font/freetype/lv_ftsystem.c:10:10: fatal error: ../../../lvgl.h: No such file or directory // all of these should be changed to #include "../../../include/lvgl/lvgl.h" or similar
How to reproduce?
No response
Source: lvgl/lvgl