cross-compilation instructions are confusing
Natejoestev opened this issue · 5 comments
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 using
reqwest` crate.
i have tried to follow the cross-compilation instructions. but to me they are very confusing.
could someone help me understand.
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.
whatever the example repo uses.
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.
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.
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.