lv_binding_rust icon indicating copy to clipboard operation
lv_binding_rust copied to clipboard

lvgl_sys build tries to compile unrelated C code

Open sasq64 opened this issue 1 year ago • 0 comments

It seems that the build process just tries to build any discovered C files in the project directory ? or instance, here it finds our json library and fails to compile it;

 DEP_LV_CONFIG_PATH=`pwd` cargo build
   Compiling lvgl-sys v0.6.2
The following warnings were emitted during compilation:

warning: [email protected]: /Users/sasq/elux/wm-application/external/lwjson/test/test.c:2:10: fatal error: 'lwjson/lwjson.h' file not found
warning: [email protected]: #include "lwjson/lwjson.h"
warning: [email protected]:          ^~~~~~~~~~~~~~~~~
warning: [email protected]: 1 error generated.

error: failed to run custom build command for `lvgl-sys v0.6.2`

sasq64 avatar May 13 '24 09:05 sasq64