lightvgl-sys 9.2.0

Raw bindings to the LVGL C library.
docs.rs failed to build lightvgl-sys-9.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: lightvgl-sys-9.5.2

lightvgl-sys

Rust raw bindings for the LVGL C library.

Usage

Build requires the following environment variables to be set:

  • DEP_LV_CONFIG_PATH: Path to the directory containing the lv_conf.h header file used for configuration of the LVGL library.

  • LIBCLANG_PATH: Can be set with ~/export-esp.sh (or for desktop sudo apt install clang then /usr/lib/llvm-<version>/lib)

It is easier to store them in .cargo/config.toml then rust-analyzer will also pick them up.

[env]
DEP_LV_CONFIG_PATH = { relative = true, value = "." }
LIBCLANG_PATH = "..."

Alternatively, it can be added before cargo commands:

DEP_LV_CONFIG_PATH=`pwd` cargo build

See also

If looking for safe bindings, check out lv_bevy_ecs