Skip to content
Discussion options

You must be logged in to vote

Ok, here are the steps to build a Slint UI for riscv64-musl (e.g. LicheeRV Nano)

  • Add Cross to you project
  • Add a Cross.toml to your project using the custom docker image https://hub.docker.com/r/sandreas/cross-riscv64-linux-musl (see my cross fork for the docker image changes)
  • Build the project via cross build --no-default-features --features "slint/backend-linuxkms-noseat,slint/renderer-software,slint/compat-1-2" --target riscv64gc-unknown-linux-musl --release

For a full demo project see https://github.com/sandreas/rust-slint-riscv64-musl-demo. Be aware that you need a supported renderer format for the slint app to work (see #9862)

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@sandreas
Comment options

@tronical
Comment options

@sandreas
Comment options

Comment options

You must be logged in to vote
2 replies
@tronical
Comment options

@sandreas
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by sandreas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants