lvgl / lv_binding_rust

LVGL bindings for Rust. A powerful and easy-to-use embedded GUI with many widgets, advanced visual effects (opacity, antialiasing, animations) and low memory requirements (16K RAM, 64K Flash).
MIT License
687 stars 71 forks source link

Error during `cargo add lvgl` #179

Open jockm opened 2 months ago

jockm commented 2 months ago

Fair warning I am very new to rust, but in following the directions, I got to the point where I entered:

cargo add lvgl 

And I got the following error:

error: `cargo add` could not determine which package to modify. Use the `--package` option to specify a package. 
available packages: lvgl, lvgl-sys, lvgl-codegen

Can anyone advise what I should do next?

I am on macOS 14.6.1 (if that matters).