Seeing libc errors with sample
Created by: jonathandturner
When I try to compile your first example, I see:
error[E0432]: unresolved import `libc::termios`. There is no `termios` in `libc`
--> C:\Users\jont\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.0.0\src\termios.rs:4:9
|
4 | pub use libc::termios as Termios;
| ^^^^^^^^^^^^^^^^^^^^^^^^
error[E0432]: unresolved import `libc::ioctl`. There is no `ioctl` in `libc`
--> C:\Users\jont\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.0.0\src\size.rs:33:9
|
33 | use libc::ioctl;
| ^^^^^^^^^^^
...
Is there something I need to do to get libc also compiling? I'm trying to build this on Windows, if that also has an impact.