lightvgl-sys-9.4.1 has been yanked.
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 thelv_conf.hheader file used for configuration of the LVGL library. -
LIBCLANG_PATH: Can be set with~/export-esp.sh(or for desktopsudo apt install clangthen/usr/lib/llvm-<version>/lib)
It is easier to store them in .cargo/config.toml then rust-analyzer will also pick them up.
[]
= { = true, = "." }
= "..."
Alternatively, it can be added before cargo commands:
DEP_LV_CONFIG_PATH=
Compatibility table
| lightvgl-sys | LVGL |
|---|---|
| 9.4.x | 9.4.0 |
| 9.3.x | 9.3.0 |
| 9.2.x | 9.2.2 |
See also
If looking for safe bindings, check out lv_bevy_ecs