Pathfinder, a fast GPU-based font rasterizer in Rust
Couldn&#x27;t run the example on Ubuntu 16.10
Would appreciate anyone&#x27;s help to get it running:<p><pre><code>  ~&#x2F;dev&#x2F;rust&#x2F;pathfinder$ cargo run --release --example lorem-ipsum -- resources&#x2F;tests&#x2F;nimbus-sans&#x2F;NimbusSanL-Regu.ttf
   Downloading clap v2.20.3
   Downloading image v0.12.3
   Downloading bencher v0.1.2
   Downloading quickcheck v0.4.1
   Downloading semver v0.2.3
   Downloading glfw-sys v3.2.1
   Downloading enum_primitive v0.1.1
   Downloading nom v1.2.4
   Downloading cmake v0.1.20
   Downloading gcc v0.3.43
   Downloading vec_map v0.6.0
   Downloading unicode-segmentation v1.1.0
   Downloading ansi_term v0.9.0
   Downloading unicode-width v0.1.4
   Downloading term_size v0.2.2
   Downloading strsim v0.6.0
   Downloading gif v0.9.0
   Downloading glob v0.2.11
   Downloading png v0.6.2
   Downloading scoped_threadpool v0.1.7
   Downloading jpeg-decoder v0.1.11
   Downloading color_quant v1.0.0
   Downloading lzw v0.10.0
   Downloading inflate v0.1.1
   Downloading deflate v0.7.4
   Downloading adler32 v0.3.0
   Downloading rayon v0.6.0
   Downloading deque v0.3.1
   Downloading num_cpus v1.2.1
   Downloading env_logger v0.3.5
   Downloading regex v0.1.80
   Downloading aho-corasick v0.5.3
   Downloading thread_local v0.2.7
   Downloading regex-syntax v0.3.9
   Downloading memchr v0.1.11
   Downloading utf8-ranges v0.1.3
   Downloading thread-id v2.0.0
     Compiling adler32 v0.3.0
     Compiling utf8-ranges v0.1.3
     Compiling ansi_term v0.9.0
     Compiling color_quant v1.0.0
     Compiling term_size v0.2.2
     Compiling enum_primitive v0.1.1
     Compiling lzw v0.10.0
     Compiling scoped_threadpool v0.1.7
     Compiling bencher v0.1.2
     Compiling winapi-build v0.1.1
     Compiling inflate v0.1.1
     Compiling unicode-width v0.1.4
     Compiling unicode-segmentation v1.1.0
     Compiling glob v0.2.11
     Compiling nom v1.2.4
     Compiling gif v0.9.0
     Compiling num-integer v0.1.32
     Compiling rand v0.3.15
     Compiling memchr v0.1.11
     Compiling aho-corasick v0.5.3
     Compiling regex-syntax v0.3.9
     Compiling deflate v0.7.4
     Compiling gcc v0.3.43
     Compiling semver v0.2.3
     Compiling strsim v0.6.0
     Compiling deque v0.3.1
     Compiling winapi v0.2.8
     Compiling num_cpus v1.2.1
     Compiling vec_map v0.6.0
     Compiling lord-drawquaad v0.1.0 (https:&#x2F;&#x2F;github.com&#x2F;pcwalton&#x2F;lord-drawquaad.git#171a2507)
     Compiling num-iter v0.1.32
     Compiling kernel32-sys v0.2.2
     Compiling clap v2.20.3
     Compiling num-complex v0.1.35
     Compiling thread-id v2.0.0
     Compiling thread_local v0.2.7
     Compiling num-bigint v0.1.35
     Compiling rayon v0.6.0
     Compiling cmake v0.1.20
     Compiling jpeg-decoder v0.1.11
     Compiling num-rational v0.1.35
     Compiling num v0.1.36
     Compiling glfw-sys v3.2.1
  error: failed to run custom build command for `glfw-sys v3.2.1`
  process didn&#x27;t exit successfully: `&#x2F;home&#x2F;mich&#x2F;dev&#x2F;rust&#x2F;pathfinder&#x2F;target&#x2F;release&#x2F;build&#x2F;glfw-sys-66de5311db1a83bd&#x2F;build-script-build` (exit code: 101)
  --- stdout
  running: &quot;cmake&quot; &quot;&#x2F;home&#x2F;mich&#x2F;.cargo&#x2F;registry&#x2F;src&#x2F;github.com-1ecc6299db9ec823&#x2F;glfw-sys-3.2.1&#x2F;.&quot; &quot;-DGLFW_BUILD_EXAMPLES=OFF&quot; &quot;-DGLFW_BUILD_TESTS=OFF&quot; &quot;-DGLFW_BUILD_DOCS=OFF&quot; &quot;-DCMAKE_INSTALL_PREFIX=&#x2F;home&#x2F;mich&#x2F;dev&#x2F;rust&#x2F;pathfinder&#x2F;target&#x2F;release&#x2F;build&#x2F;glfw-sys-79c50ef4a5edfcd6&#x2F;out&quot; &quot;-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64&quot; &quot;-DCMAKE_C_COMPILER=&#x2F;usr&#x2F;bin&#x2F;cc&quot; &quot;-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64&quot; &quot;-DCMAKE_CXX_COMPILER=&#x2F;usr&#x2F;bin&#x2F;c++&quot; &quot;-DCMAKE_BUILD_TYPE=Release&quot;
  -- The C compiler identification is GNU 6.2.0
  -- Check for working C compiler: &#x2F;usr&#x2F;bin&#x2F;cc
  -- Check for working C compiler: &#x2F;usr&#x2F;bin&#x2F;cc -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Looking for pthread.h
  -- Looking for pthread.h - found
  -- Looking for pthread_create
  -- Looking for pthread_create - not found
  -- Looking for pthread_create in pthreads
  -- Looking for pthread_create in pthreads - not found
  -- Looking for pthread_create in pthread
  -- Looking for pthread_create in pthread - found
  -- Found Threads: TRUE  
  -- Could NOT find Vulkan (missing:  VULKAN_LIBRARY VULKAN_INCLUDE_DIR) 
  -- Using X11 for window creation
  -- Configuring incomplete, errors occurred!
  See also &quot;&#x2F;home&#x2F;mich&#x2F;dev&#x2F;rust&#x2F;pathfinder&#x2F;target&#x2F;release&#x2F;build&#x2F;glfw-sys-79c50ef4a5edfcd6&#x2F;out&#x2F;build&#x2F;CMakeFiles&#x2F;CMakeOutput.log&quot;.
  See also &quot;&#x2F;home&#x2F;mich&#x2F;dev&#x2F;rust&#x2F;pathfinder&#x2F;target&#x2F;release&#x2F;build&#x2F;glfw-sys-79c50ef4a5edfcd6&#x2F;out&#x2F;build&#x2F;CMakeFiles&#x2F;CMakeError.log&quot;.
  
  --- stderr
  CMake Error at &#x2F;usr&#x2F;share&#x2F;cmake-3.5&#x2F;Modules&#x2F;FindX11.cmake:439 (message):
    Could not find X11
  Call Stack (most recent call first):
    CMakeLists.txt:192 (find_package)
  
  thread &#x27;main&#x27; panicked at &#x27;
  command did not execute successfully, got: exit code: 1
  
  build script failed, must exit now&#x27;, &#x2F;home&#x2F;mich&#x2F;.cargo&#x2F;registry&#x2F;src&#x2F;github.com-1ecc6299db9ec823&#x2F;cmake-0.1.20&#x2F;src&#x2F;lib.rs:573
  note: Run with `RUST_BACKTRACE=1` for a backtrace.
  
  Build failed, waiting for other jobs to finish...
  error: build failed</code></pre>