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
When the docker image is built change the image name in Cross.toml and do cross build --target aarch64-unknown-linux-gnu --release and copy target/aarch64-unknown-linux-gnu/release/camcam to the phone.
The text was updated successfully, but these errors were encountered:
This needs a little bit of thought.
For cross compilation, install
cargo cross
, build a docker image for the cross compilation with instructions from cross-rs/cross#517 and richardanaya/pinephone-gtk-rs-starter#4I needed these on top of Ubuntu 20.04 cargo cross image:
When the docker image is built change the image name in
Cross.toml
and docross build --target aarch64-unknown-linux-gnu --release
and copy target/aarch64-unknown-linux-gnu/release/camcam to the phone.The text was updated successfully, but these errors were encountered: