Build errors in windows
Hi
I installed make in Cygwin windows : I am getting errors in building. How can I build ?
$ cargo --version
cargo 1.26.0 (0e7c5a931 2018-04-06)
asnegi@asnegi-PC /cygdrive/c/Users/asnegi/b/ion
$ make
cargo build --release
Compiling small v0.1.0 (https://gitlab.redox-os.org/redox-os/small#b3d41e64)
Compiling fnv v1.0.6
Compiling xdg v2.1.0 (https://github.com/whitequark/rust-xdg#090afef2)
Compiling unicode-segmentation v1.2.1
Compiling itoa v0.4.2
Compiling glob v0.2.11
Compiling winapi v0.3.5
Compiling serde v1.0.70
Compiling decimal v2.0.4
Compiling synom v0.11.3
Compiling textwrap v0.10.0
Compiling termion v1.5.1
error[E0432]: unresolved import `std::hint`
--> C:\Users\asnegi\.cargo\git\checkouts\small-e4ea80b202c6d31b\b3d41e6\src\string.rs:3:10
|
3 | use std::hint::unreachable_unchecked;
| ^^^^ Could not find `hint` in `std`
Compiling memchr v2.0.1
Compiling ion_sys v0.1.0 (file:///C:/Users/asnegi/b/ion/members/sys)
error: aborting due to previous error
For more information about this error, try `rustc --explain E0432`.
error: Could not compile `small`.
warning: build failed, waiting for other jobs to finish...
error[E0432]: unresolved import `self::sys`
--> members\sys\src\lib.rs:17:15
|
17 | pub use self::sys::*;
| ^^^ Maybe a missing `extern crate sys;`?
error: aborting due to previous error
For more information about this error, try `rustc --explain E0432`.
error: Could not compile `ion_sys`.
warning: build failed, waiting for other jobs to finish...
error[E0433]: failed to resolve. Maybe a missing `extern crate sys;`?
--> C:\Users\asnegi\.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[E0433]: failed to resolve. Maybe a missing `extern crate sys;`?
--> C:\Users\asnegi\.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[E0433]: failed to resolve. Maybe a missing `extern crate sys;`?
--> C:\Users\asnegi\.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\asnegi\.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[E0433]: failed to resolve. Maybe a missing `extern crate sys;`?
--> C:\Users\asnegi\.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[E0425]: cannot find function `get_tty` in this scope
--> C:\Users\asnegi\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.1\src\async.rs:20:36
|
20 | thread::spawn(move || for i in get_tty().unwrap().bytes() {
| ^^^^^^^ not found in this scope
error[E0425]: cannot find function `set_terminal_attr` in this scope
--> C:\Users\asnegi\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.1\src\raw.rs:45:9
|
45 | set_terminal_attr(&self.prev_ios).unwrap();
| ^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `get_terminal_attr` in this scope
--> C:\Users\asnegi\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.1\src\raw.rs:90:23
|
90 | let mut ios = get_terminal_attr()?;
| ^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `raw_terminal_attr` in this scope
--> C:\Users\asnegi\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.1\src\raw.rs:93:9
|
93 | raw_terminal_attr(&mut ios);
| ^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `set_terminal_attr` in this scope
--> C:\Users\asnegi\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.1\src\raw.rs:95:9
|
95 | set_terminal_attr(&ios)?;
| ^^^^^^^^^^^^^^^^^ not found in this scope
error: aborting due to 10 previous errors
Some errors occurred: E0425, E0432, E0433.
For more information about an error, try `rustc --explain E0425`.
error: Could not compile `termion`.
warning: build failed, waiting for other jobs to finish...
error: build failed
make: *** [Makefile:5: all] Error 101