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

Basic command is not running from Readme #1515

Closed
krishnaTORQUE opened this issue Jun 16, 2024 · 1 comment
Closed

Basic command is not running from Readme #1515

krishnaTORQUE opened this issue Jun 16, 2024 · 1 comment

Comments

@krishnaTORQUE
Copy link

krishnaTORQUE commented Jun 16, 2024

Basic command is not running from Readme. Even when docker is running.
I am on m2 macos (14.5) & trying to cross compile for raspberry pi 4.

Command

cross build --target arm-unknown-linux-gnueabihf

Error

Unable to find image 'ghcr.io/cross-rs/arm-unknown-linux-gnueabihf:0.2.5' locally
0.2.5: Pulling from cross-rs/arm-unknown-linux-gnueabihf
docker: no matching manifest for linux/arm64/v8 in the manifest list entries.
See 'docker run --help'.
@Emilgardis
Copy link
Member

Emilgardis commented Jun 16, 2024

See #1214 (comment)

either pull the image with the platform specified: CROSS_CONTAINER_OPTS="--platform linux/amd64"
or use cross from the main branch: cargo install cross --git https:/cross-rs/cross

duplicates #1214

@Emilgardis Emilgardis closed this as not planned Won't fix, can't repro, duplicate, stale Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants