esp-rs / std-training

Embedded Rust on Espressif training material.
https://esp-rs.github.io/std-training
Apache License 2.0
606 stars 78 forks source link

`cargo install cargo-generate` fails in dev containers #171

Closed iot49 closed 1 year ago

iot49 commented 1 year ago

Error: failed to compile cargo-generate v0.18.1, intermediate artifacts can be found at /tmp/cargo-install140bht

Fix: add libssl-dev (to apt-get) in Dockerfile.

SergioGasquez commented 1 year ago

Hi! The devcontainer already has cargo-generate installed. Is there any reason why you want to compile it from source?

iot49 commented 1 year ago

odd, I got an error that it was not installed. Must have done something wrong. Presumably you can close the issue.

On Fri, Mar 31, 2023 at 10:03 AM Sergio Gasquez Arcos < @.***> wrote:

Hi! The devcontainer already has cargo-generate installed https://github.com/esp-rs/espressif-trainings/blob/main/.devcontainer/Dockerfile#L47-L52. Is there any reason why you want to compile it from source?

— Reply to this email directly, view it on GitHub https://github.com/esp-rs/espressif-trainings/issues/171#issuecomment-1492272839, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATHYSZKYEDATV3XNFOUHT2TW64E6PANCNFSM6AAAAAAWO42GRM . You are receiving this because you authored the thread.Message ID: @.***>

SergioGasquez commented 1 year ago

I just did a small test, and I was able to use cargo-generate from the devcontainer with no issue. I'll close the issue, should you have any problems using it, just let me know!

SergioGasquez commented 1 year ago

As suggested, I will close the issue. Feel free to reopen it with reproduction steps if the issue still persists for you.