piston-examples icon indicating copy to clipboard operation
piston-examples copied to clipboard

Getting-started example won't build, failed dependency: x11-dl

Open haiitch opened this issue 7 years ago • 0 comments

Getting-started example won't build, failed dependency: x11-dl

Output of cargo build follows:

   Compiling memoffset v0.2.1
   Compiling scoped_threadpool v0.1.9
   Compiling num-traits v0.2.5
   Compiling log v0.4.3
   Compiling crossbeam-utils v0.2.2
   Compiling xml-rs v0.7.0
   Compiling unreachable v0.1.1
   Compiling proc-macro2 v0.4.9
   Compiling arrayvec v0.4.7
   Compiling x11-dl v2.18.1
   Compiling inflate v0.4.3
error: non-reference pattern used to match a reference (see issue #42640)
  --> /home/vxv/.cargo/registry/src/github.com-1ecc6299db9ec823/x11-dl-2.18.1/build.rs:33:9
   |
33 |     for (lib, pcname) in libraries.iter() {
   |         ^^^^^^^^^^^^^ help: consider using a reference: `&(lib, pcname)`

error: aborting due to previous error

error: Could not compile `x11-dl`.
warning: build failed, waiting for other jobs to finish...
error: build failed

haiitch avatar Jul 23 '18 20:07 haiitch