You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First time trying to get the demo example running, I followed the README instructions (also copied lv_conf.h and lv_drivers_conf.h to this repo root dir) but ended up with this error (similar to #152). There seems to be an empty -D after DLV_CONF_INCLUDE_SIMPLE:
$ DEP_LV_CONFIG_PATH=`pwd` cargo run --example demo --features="alloc" Compiling lvgl-sys v0.6.2 (/home/d3bug/Desktop/lv_binding_rust/lvgl-sys)The following warnings were emitted during compilation:warning: [email protected]: <command-line>: error: no macro name given in #define directiveerror: failed to run custom build command for `lvgl-sys v0.6.2 (/home/d3bug/Desktop/lv_binding_rust/lvgl-sys)`Caused by: process didn't exit successfully: `/home/d3bug/Desktop/lv_binding_rust/target/debug/build/lvgl-sys-3e9d9eb4b2672d68/build-script-build` (exit status: 1) --- stdout cargo:rerun-if-changed=/home/d3bug/Desktop/lv_binding_rust/fonts cargo:rerun-if-changed=/home/d3bug/Desktop/lv_binding_rust/examples/include/lv_conf.h cargo:rerun-if-changed=/home/d3bug/Desktop/lv_binding_rust/examples/include/lv_drv_conf.h cargo:rerun-if-env-changed=LVGL_INCLUDE cargo:rerun-if-env-changed=LVGL_LINK OUT_DIR = Some(/home/d3bug/Desktop/lv_binding_rust/target/debug/build/lvgl-sys-3bb4c439822ae584/out) OPT_LEVEL = Some(0) TARGET = Some(x86_64-unknown-linux-gnu) HOST = Some(x86_64-unknown-linux-gnu) cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu CC_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu CC_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CC HOST_CC = None cargo:rerun-if-env-changed=CC CC = None cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT RUSTC_WRAPPER = None cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None DEBUG = Some(true) CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu CFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu CFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS CFLAGS = None cargo:warning=<command-line>: error: no macro name given in #define directive --- stderr error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "/home/d3bug/Desktop/lv_binding_rust/lvgl-sys/vendor/lvgl/src" "-I" "/home/d3bug/Desktop/lv_binding_rust/lvgl-sys/vendor" "-I" "/home/d3bug/Desktop/lv_binding_rust/examples/include" "-I" "/home/d3bug/Desktop/lv_binding_rust/fonts" "-I" "/home/d3bug/Desktop/lv_binding_rust/lvgl-sys/vendor/lv_drivers" "-I" "/usr/include" "-I" "/usr/local/include" "-DLV_CONF_INCLUDE_SIMPLE=1" "-D=" "-o" "/home/d3bug/Desktop/lv_binding_rust/target/debug/build/lvgl-sys-3bb4c439822ae584/out/99299a8c29a71c18-fonts_noto_sans_numeric_80.o" "-c" "/home/d3bug/Desktop/lv_binding_rust/fonts/fonts_noto_sans_numeric_80.c" with args cc did not execute successfully (status code exit status: 1).
The text was updated successfully, but these errors were encountered:
Hi,
First time trying to get the demo example running, I followed the README instructions (also copied
lv_conf.h
andlv_drivers_conf.h
to this repo root dir) but ended up with this error (similar to #152). There seems to be an empty-D
afterDLV_CONF_INCLUDE_SIMPLE
:The text was updated successfully, but these errors were encountered: