termion seems to be a broken dependency.
Created by: Nijaitchy
Is there a guide on how to compile redox on windows, cause I can't quite get it to work.
I am currently stuck here:
when trying to compile redox as described in the book I get the following errors. This is most certainly caused by the fact that I did not install the redox toolchain. Sadly I did not find any good source on how to install a different toolchain, as all I have found were targeted to linux.
>make all
cd kernel && xargo clean
rm -rf build/initfs
cargo run --manifest-path installer/Cargo.toml -- --cookbook=cookbook initfs.tom
l
Compiling termion v1.5.1
Compiling termion v1.5.0 (https://github.com/redox-os/termion.git?branch=redo
x_termios#18e589b9)
Compiling webpki-roots v0.11.0
Compiling rustls v0.9.0
error[E0463]: can't find crate for `redox_termios`
--> C:\Users\WORK\.cargo\git\checkouts\termion-994101b84ecd1aab\18e589b\src\sys
/redox/mod.rs:1:1
|
1 | extern crate redox_termios;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
error: aborting due to previous error
error: Could not compile `termion`.
warning: build failed, waiting for other jobs to finish...
error[E0432]: unresolved import `sys`
--> C:\Users\WORK\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.
1\src\lib.rs:22:9
|
22 | pub use sys::size::terminal_size;
| ^^^ Maybe a missing `extern crate sys;`?
error[E0432]: unresolved import `sys`
--> C:\Users\WORK\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.
1\src\lib.rs:23:9
|
23 | pub use sys::tty::{is_tty, get_tty};
| ^^^ Maybe a missing `extern crate sys;`?
error[E0432]: unresolved import `sys`
--> C:\Users\WORK\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.1
\src\async.rs:5:5
|
5 | use sys::tty::get_tty;
| ^^^ Maybe a missing `extern crate sys;`?
error[E0432]: unresolved import `sys`
--> C:\Users\WORK\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.
1\src\raw.rs:28:5
|
28 | use sys::Termios;
| ^^^ Maybe a missing `extern crate sys;`?
error[E0432]: unresolved import `sys`
--> C:\Users\WORK\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.
1\src\raw.rs:29:5
|
29 | use sys::attr::{get_terminal_attr, raw_terminal_attr, set_terminal_attr};
| ^^^ Maybe a missing `extern crate sys;`?
error: aborting due to 5 previous errors
error: Could not compile `termion`.
warning: build failed, waiting for other jobs to finish...
error: build failed
make: *** [build/initfs.tag] Error 101