fintelia / terra

A large scale terrain rendering library written in Rust
Apache License 2.0
504 stars 14 forks source link

Build fails with errors #15

Closed shujaatak closed 3 years ago

shujaatak commented 3 years ago

I get the following error while building terra:

   Compiling libudev-sys v0.1.4
   Compiling proc-macro-hack v0.5.19
   Compiling proc-macro-nested v0.1.7
   Compiling typenum v1.13.0
error: failed to run custom build command for `libudev-sys v0.1.4`

Caused by:
  process didn't exit successfully: `/home/shujaat/Documents/Rust/terra/target/release/build/libudev-sys-97b2fad326468533/build-script-build` (exit code: 101)

My Rust version:

rustup --version
rustup 1.23.1 (3df2264a9 2020-11-30)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.50.0 (cb75ad5db 2021-02-10)`

OS: Ubuntu 20.04.2 LTS

fintelia commented 3 years ago

You need to install a few dependencies:

$ sudo apt-get install libegl-dev libudev-dev

(I just added a note to the README)