Info
This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Manual install on Windows - missing target libs
Hi,
I installed Rust on my laptop with Windows the manual way (unpack from the archive) as I do not have the administration rights and rustup failed to install.
I set up the PATH to rustc and cargo and I am able to compile with "rustc -L c:\opt\rust-1.87.0-x86_64-pc-windows-gnu\rust-std-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\ main.rs"
But I am not able to run the "cargo build". Cargo is missing the library setup:
cargo build
Downloaded bmp v0.5.0
Downloaded byteorder v1.5.0
Downloaded 2 crates (35.1KiB) in 0.98s
Compiling byteorder v1.5.0
error[E0463]: can't find crate forstd
|
= note: thex86_64-pc-windows-gnu
target may not be installed
Which environmental variables shall I set for cargo? Thank you.
5 posts - 3 participants
🏷️ rust_feed