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

cross-compilation instructions are confusing #28

Open
Natejoestev opened this issue Feb 18, 2024 · 5 comments
Open

cross-compilation instructions are confusing #28

Natejoestev opened this issue Feb 18, 2024 · 5 comments

Comments

@Natejoestev
Copy link

I am trying to get HTTP and TCP connections working with the ev3dev rust langauge.
I have run into the error error: failed to run custom build command for openssl-sys v0.9.99when usingreqwest` crate.

i have tried to follow the cross-compilation instructions. but to me they are very confusing.
could someone help me understand.

@pixix4
Copy link
Owner

pixix4 commented Feb 20, 2024

Which variant did you try? The musl toolchain or the docker build? And do you have a link to your project? Then I could try to reproduce this error and extend the README file.

@Natejoestev
Copy link
Author

whatever the example repo uses.

@pixix4
Copy link
Owner

pixix4 commented Feb 21, 2024

The template repository uses the musl toolchain. This variant has a simpler setup process but can be difficult to work with external dependencies. You can try the Docker build as described here.

At the weekend I will try to convert the template repo to the Docker build and add SSL support to the example.

@Natejoestev
Copy link
Author

i tried following the steps described in the docker toolchain section.
but when i went through, stuff kept throwing errors, and i think because i'm using powershell the docker command doesn't work.

@pixix4
Copy link
Owner

pixix4 commented Feb 25, 2024

I updated the template repo with with screen and reqwest support. The build process should work on Windows 11 with Docker Desktop (WSL 2 backend) and powershell.

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