Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Building on Raspberry Pi W 2 #21

Open
jettblu opened this issue Sep 24, 2024 · 1 comment
Open

Error Building on Raspberry Pi W 2 #21

jettblu opened this issue Sep 24, 2024 · 1 comment

Comments

@jettblu
Copy link

jettblu commented Sep 24, 2024

Hi Thanks for the great project! While installing the rust based software, I encountered the following error. For context, I am running a headless version of raspberry pi os, on the raspberry pi w 2. The error is thrown on line 8 of build.rs. Do you know what may be causing the issue?

called Result::unwrap() on an Err value: Error { os: "linux", arch: "arm" }

@jettblu jettblu changed the title Error Build on raspberri Pi W 2 Error Building on Raspberry Pi W 2 Sep 24, 2024
@lukipuki
Copy link
Collaborator

lukipuki commented Oct 1, 2024

I believe I fixed it here , precisely because I wanted to build on a Raspberry Pi (I think it was Zero).

Please do apt install protobuf-compiler and then export PROTOC=protoc.

The crate has not been released since then, so you might need
meshtastic = { git = "https://github.com/meshtastic/rust.git", branch = "main" } in Cargo.toml.

This should go into the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants