nannou-org / nannou

A Creative Coding Framework for Rust.
https://nannou.cc/
6.03k stars 304 forks source link

Can't compile on Ubuntu Mate 20.04 (document libx11-dev requirement) #571

Open MarkuBu opened 4 years ago

MarkuBu commented 4 years ago

Hi, I have a fresh installation of Ubuntu Mate 20.04. I installed all packages recommended by the book, but I get a compile error


   Compiling x11 v2.18.2
   Compiling rand v0.6.5
error: failed to run custom build command for `x11 v2.18.2`

Caused by:
  process didn't exit successfully: `/home/markus/dev/nannou/target/release/build/x11-1412353dfb426d46/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"x11\" \"x11 >= 1.4.99.1\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package x11 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `x11.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'x11\' found\nPackage x11 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `x11.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'x11\' found\n" } }', /home/markus/.cargo/registry/src/github.com-1ecc6299db9ec823/x11-2.18.2/build.rs:36:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

warning: build failed, waiting for other jobs to finish...
error: build failed

Do I have to install additional packages or is Ubuntu 20.04 not supported yet?

Greetings Markus

mitchmindtree commented 4 years ago

Hi @MarkuBu, thanks for the issue!

It looks like for some reason pkg-config is having trouble finding the x11 package. Is there any chance it has been moved to a different package or had a name change in the latest release Ubuntu release? I think normally x11 is provided through libxcb-shape0-dev or libxcb-xfixes0-dev, though I could be wrong. I would perhaps search apt for x11 to see if I can find and install the package that way.

Please let us know how you go! It would be nice update the guide for whatever the missing package is on Ubuntu 20.04.

MarkuBu commented 4 years ago

I had to install libx11-dev

Maybe you should add this to this command

sudo apt-get install curl build-essential python cmake pkg-config

dimitre commented 4 years ago

I'm having issues with Ubuntu 20.04 too, the first ones are this :

   Compiling glsl-to-spirv v0.1.7
   Compiling ilda-idtf v0.1.0
error: failed to run custom build command for `glsl-to-spirv v0.1.7`

Caused by:
  process didn't exit successfully: `/home/d/nannou/target/release/build/glsl-to-spirv-bcb835e4a167e1c1/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=build/glslangValidator.exe
running: "cmake" "/home/d/.cargo/registry/src/github.com-1ecc6299db9ec823/glsl-to-spirv-0.1.7/glslang" "-DCMAKE_INSTALL_PREFIX=/home/d/nannou/target/release/build/glsl-to-spirv-5d4adb1920a06617/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Release"

--- stderr
fatal: not a git repository (or any of the parent directories): .git
thread 'main' panicked at '
failed to execute command: No such file or directory (os error 2)
is `cmake` not installed?

build script failed, must exit now', /home/d/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.44/src/lib.rs:885:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed
d@ubu:~/nannou$ cargo run --release --example draw RUST_BACKTRACE=1
   Compiling glsl-to-spirv v0.1.7
   Compiling nannou_laser v0.14.3 (/home/d/nannou/nannou_laser)
error: failed to run custom build command for `glsl-to-spirv v0.1.7`

Caused by:
  process didn't exit successfully: `/home/d/nannou/target/release/build/glsl-to-spirv-bcb835e4a167e1c1/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=build/glslangValidator.exe
running: "cmake" "/home/d/.cargo/registry/src/github.com-1ecc6299db9ec823/glsl-to-spirv-0.1.7/glslang" "-DCMAKE_INSTALL_PREFIX=/home/d/nannou/target/release/build/glsl-to-spirv-5d4adb1920a06617/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Release"

--- stderr
fatal: not a git repository (or any of the parent directories): .git
thread 'main' panicked at '
failed to execute command: No such file or directory (os error 2)
is `cmake` not installed?

build script failed, must exit now', /home/d/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.44/src/lib.rs:885:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed

then after installing the libs indicated (libx11-dev is already installed and latest version) I've got other errors

   Compiling examples v0.1.0 (/home/d/nannou/examples)
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.draw.8bbbw4zr-cgu.0.rcgu.o" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.draw.8bbbw4zr-cgu.1.rcgu.o" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.draw.8bbbw4zr-cgu.10.rcgu.o" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.draw.8bbbw4zr-cgu.11.rcgu.o" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.draw.8bbbw4zr-cgu.12.rcgu.o" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.draw.8bbbw4zr-cgu.13.rcgu.o" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.draw.8bbbw4zr-cgu.14.rcgu.o" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.draw.8bbbw4zr-cgu.15.rcgu.o" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.draw.8bbbw4zr-cgu.2.rcgu.o" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.draw.8bbbw4zr-cgu.3.rcgu.o" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.draw.8bbbw4zr-cgu.4.rcgu.o" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.draw.8bbbw4zr-cgu.5.rcgu.o" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.draw.8bbbw4zr-cgu.6.rcgu.o" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.draw.8bbbw4zr-cgu.7.rcgu.o" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.draw.8bbbw4zr-cgu.8.rcgu.o" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.draw.8bbbw4zr-cgu.9.rcgu.o" "-o" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd" "/home/d/nannou/target/release/examples/draw-4bccedb6213192bd.2yoo8vq32fyhpmuw.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/home/d/nannou/target/release/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/d/nannou/target/release/deps/libnannou-f357d75b01ae0a17.rlib" "/home/d/nannou/target/release/deps/libfutures-b90b08e4d45af29d.rlib" "/home/d/nannou/target/release/deps/libfutures_executor-86c5a3027c7cd9c6.rlib" "/home/d/nannou/target/release/deps/libfutures_util-37ff6e8ff8808105.rlib" "/home/d/nannou/target/release/deps/libmemchr-395072760cf604fc.rlib" "/home/d/nannou/target/release/deps/libproc_macro_nested-1e487929f770d030.rlib" "/home/d/nannou/target/release/deps/libfutures_io-6151730db11f0b16.rlib" "/home/d/nannou/target/release/deps/libfutures_channel-b9a7a5ac77e73d67.rlib" "/home/d/nannou/target/release/deps/libpin_project-eb6db3acb9b6a148.rlib" "/home/d/nannou/target/release/deps/libfutures_sink-245788bfc749042e.rlib" "/home/d/nannou/target/release/deps/libfutures_task-f4d5d7e4216c2010.rlib" "/home/d/nannou/target/release/deps/libonce_cell-6aa2b1cc5a506d4c.rlib" "/home/d/nannou/target/release/deps/libpin_utils-673b9f5031f880f1.rlib" "/home/d/nannou/target/release/deps/libfutures_core-1b97c36d8f5b8fa9.rlib" "/home/d/nannou/target/release/deps/libnotosans-89fd651aef6ae6ab.rlib" "/home/d/nannou/target/release/deps/librand-c4aa4a54025fc0d2.rlib" "/home/d/nannou/target/release/deps/librand_pcg-29ee05880f6657d0.rlib" "/home/d/nannou/target/release/deps/librand_chacha-e0aaf2d754a51fc2.rlib" "/home/d/nannou/target/release/deps/libppv_lite86-76205be01b77f179.rlib" "/home/d/nannou/target/release/deps/librand_core-76907113dd83df2f.rlib" "/home/d/nannou/target/release/deps/libgetrandom-4abd303150e7ede2.rlib" "/home/d/nannou/target/release/deps/libnoise-65ce6c7cc5279531.rlib" "/home/d/nannou/target/release/deps/librand-ded66f360ba9e2c6.rlib" "/home/d/nannou/target/release/deps/libimage-a73d8c2ef6a23ede.rlib" "/home/d/nannou/target/release/deps/libgif-ad40c8f21beba528.rlib" "/home/d/nannou/target/release/deps/libpng-d28d327c76655d68.rlib" "/home/d/nannou/target/release/deps/libdeflate-4daa4342b7fc3e01.rlib" "/home/d/nannou/target/release/deps/libinflate-b281db26ac7cdaca.rlib" "/home/d/nannou/target/release/deps/libenum_primitive-579ae1c00699bd89.rlib" "/home/d/nannou/target/release/deps/libnum_traits-f60a8caca165c7c5.rlib" "/home/d/nannou/target/release/deps/libnum_rational-3c25868797776692.rlib" "/home/d/nannou/target/release/deps/libnum_bigint-2ccc55d629f2c1f7.rlib" "/home/d/nannou/target/release/deps/librand-fa58e89a496d89d6.rlib" "/home/d/nannou/target/release/deps/librustc_serialize-4cd320b8e9d1a2d7.rlib" "/home/d/nannou/target/release/deps/libtoml-162b84eada1eec81.rlib" "/home/d/nannou/target/release/deps/libserde_json-b4418adef7242318.rlib" "/home/d/nannou/target/release/deps/libryu-4d70b0f7a4c722d2.rlib" "/home/d/nannou/target/release/deps/libitoa-5d52a967f48b93f6.rlib" "/home/d/nannou/target/release/deps/libimage-5f956a9b28797124.rlib" "/home/d/nannou/target/release/deps/libbytemuck-7d21835bdb80a386.rlib" "/home/d/nannou/target/release/deps/libpng-98c7fcf1bba806ee.rlib" "/home/d/nannou/target/release/deps/libcrc32fast-f33e2506c6871cd8.rlib" "/home/d/nannou/target/release/deps/libdeflate-c69515fa5dc17a22.rlib" "/home/d/nannou/target/release/deps/libjpeg_decoder-949e4a37b3b00841.rlib" "/home/d/nannou/target/release/deps/librayon-616a46b5e2055762.rlib" "/home/d/nannou/target/release/deps/librayon_core-10bdb6712520fb3c.rlib" "/home/d/nannou/target/release/deps/libcrossbeam_queue-bfb7a2a1dcdf0268.rlib" "/home/d/nannou/target/release/deps/libeither-fb9fdaa77bc4c728.rlib" "/home/d/nannou/target/release/deps/libscoped_threadpool-aeb28466b3d15004.rlib" "/home/d/nannou/target/release/deps/libnum_rational-cc342b32a7c4e514.rlib" "/home/d/nannou/target/release/deps/libgif-657d714baabfe79c.rlib" "/home/d/nannou/target/release/deps/libcolor_quant-b1530016d61bd3d0.rlib" "/home/d/nannou/target/release/deps/libtiff-d64111f0e5249e5d.rlib" "/home/d/nannou/target/release/deps/libminiz_oxide-ba75b548159accbf.rlib" "/home/d/nannou/target/release/deps/libadler32-df192ec4213a551b.rlib" "/home/d/nannou/target/release/deps/liblzw-4bb6c473215bee94.rlib" "/home/d/nannou/target/release/deps/libpennereq-4a0eeab23b1992e1.rlib" "/home/d/nannou/target/release/deps/libcgmath-b2eb14c803d60117.rlib" "/home/d/nannou/target/release/deps/librand-a58c00de5cc543ab.rlib" "/home/d/nannou/target/release/deps/librand_xorshift-723975f871e0a94e.rlib" "/home/d/nannou/target/release/deps/librand_pcg-aa6af59963f7951a.rlib" "/home/d/nannou/target/release/deps/librand_hc-313c568ab87e9372.rlib" "/home/d/nannou/target/release/deps/librand_chacha-5695ddf2c9fd7670.rlib" "/home/d/nannou/target/release/deps/librand_isaac-cadea89802a39948.rlib" "/home/d/nannou/target/release/deps/librand_core-3e7d434087c71a08.rlib" "/home/d/nannou/target/release/deps/librand_os-958c943c718b1987.rlib" "/home/d/nannou/target/release/deps/librand_jitter-d2bce7127f833cd6.rlib" "/home/d/nannou/target/release/deps/librand_core-5a3c98659ae36bdb.rlib" "/home/d/nannou/target/release/deps/libpalette-339bbd5b2ad23076.rlib" "/home/d/nannou/target/release/deps/libphf-7c0a817a9d76435c.rlib" "/home/d/nannou/target/release/deps/libphf_shared-f402621ecceb1b86.rlib" "/home/d/nannou/target/release/deps/libsiphasher-ef62b5ba2fa967e5.rlib" "/home/d/nannou/target/release/deps/libwinit-c5c8a5992844a689.rlib" "/home/d/nannou/target/release/deps/libx11_dl-0d0bb053337d6ea3.rlib" "/home/d/nannou/target/release/deps/libpercent_encoding-8d4e8db85926405e.rlib" "/home/d/nannou/target/release/deps/liblyon-fa6e155bc97c22c8.rlib" "/home/d/nannou/target/release/deps/liblyon_tessellation-b8c633a8123b0506.rlib" "/home/d/nannou/target/release/deps/liblyon_algorithms-f160327832e484e5.rlib" "/home/d/nannou/target/release/deps/libsid-128c22df6a786ae4.rlib" "/home/d/nannou/target/release/deps/liblyon_path-287498f57b9552c4.rlib" "/home/d/nannou/target/release/deps/liblyon_geom-fe974215de17db6d.rlib" "/home/d/nannou/target/release/deps/libeuclid-9ed81a7f635250c5.rlib" "/home/d/nannou/target/release/deps/libfind_folder-96fbdf31e4904503.rlib" "/home/d/nannou/target/release/deps/libdaggy-3e55e328ddf090d5.rlib" "/home/d/nannou/target/release/deps/libconrod_winit-97cf1f5144122cb1.rlib" "/home/d/nannou/target/release/deps/libconrod_wgpu-ec467457ae598217.rlib" "/home/d/nannou/target/release/deps/libwgpu-a35871ac845aca9e.rlib" "/home/d/nannou/target/release/deps/libwgpu_native-06c99270297ed935.rlib" "/home/d/nannou/target/release/deps/libwgpu_core-043f7ea2ff451a15.rlib" "/home/d/nannou/target/release/deps/libvec_map-371e67f55c2b4526.rlib" "/home/d/nannou/target/release/deps/libgfx_memory-44f7f3b1925128aa.rlib" "/home/d/nannou/target/release/deps/libhibitset-7755c03925a23ab0.rlib" "/home/d/nannou/target/release/deps/libatom-9856dc9f9f6057b7.rlib" "/home/d/nannou/target/release/deps/libcopyless-48f3b31d23280bad.rlib" "/home/d/nannou/target/release/deps/libgfx_descriptor-93c4c69c223e9ce3.rlib" "/home/d/nannou/target/release/deps/libfxhash-195bcabb267b77d3.rlib" "/home/d/nannou/target/release/deps/libgfx_backend_vulkan-3850cf273a8b6701.rlib" "/home/d/nannou/target/release/deps/libash-061402149e8d5c04.rlib" "/home/d/nannou/target/release/deps/libgfx_backend_empty-5e1af4d6896941e9.rlib" "/home/d/nannou/target/release/deps/libgfx_hal-d9278aa167de92e3.rlib" "/home/d/nannou/target/release/deps/libraw_window_handle-ce5197bf37de82f5.rlib" "/home/d/nannou/target/release/deps/libwgpu_types-c8d65cfa4a838d0a.rlib" "/home/d/nannou/target/release/deps/libpeek_poke-46e914273ccc1604.rlib" "/home/d/nannou/target/release/deps/libarrayvec-052099f22374b697.rlib" "/home/d/nannou/target/release/deps/libparking_lot-2d674cfca0df48a7.rlib" "/home/d/nannou/target/release/deps/libparking_lot_core-305e7376d752e315.rlib" "/home/d/nannou/target/release/deps/libsmallvec-61a44175cfb5a00d.rlib" "/home/d/nannou/target/release/deps/liblock_api-46f052ed510bd9b6.rlib" "/home/d/nannou/target/release/deps/libconrod_core-ba6807a74d50d8da.rlib" "/home/d/nannou/target/release/deps/libinstant-26a10af3bcfaae3c.rlib" "/home/d/nannou/target/release/deps/libcopypasta-965c9f15a7cd1691.rlib" "/home/d/nannou/target/release/deps/libx11_clipboard-0d43beb55cdae70a.rlib" "/home/d/nannou/target/release/deps/libxcb-c70071fd5cb4ea7a.rlib" "/home/d/nannou/target/release/deps/libsmithay_clipboard-046821850fbd8c40.rlib" "/home/d/nannou/target/release/deps/libsmithay_client_toolkit-a8c93897cb6a25db.rlib" "/home/d/nannou/target/release/deps/libwayland_protocols-fbab20eefe66e416.rlib" "/home/d/nannou/target/release/deps/libwayland_client-c4557e9290d0bc70.rlib" "/home/d/nannou/target/release/deps/libwayland_commons-c911a9e3d9f24aed.rlib" "/home/d/nannou/target/release/deps/libwayland_sys-8fa0bbb8121ce999.rlib" "/home/d/nannou/target/release/deps/libcalloop-3367cc393346a607.rlib" "/home/d/nannou/target/release/deps/libmio_extras-b09fe3cc647fb7f8.rlib" "/home/d/nannou/target/release/deps/liblazycell-9c635fead1a878ff.rlib" "/home/d/nannou/target/release/deps/libmio-9f45851fcb9f2acb.rlib" "/home/d/nannou/target/release/deps/liblog-7b463c343adb763a.rlib" "/home/d/nannou/target/release/deps/libslab-6389f6f597906dde.rlib" "/home/d/nannou/target/release/deps/libiovec-abba0af8216f5fff.rlib" "/home/d/nannou/target/release/deps/libnet2-b749040285e3e23e.rlib" "/home/d/nannou/target/release/deps/libmemmap-f9e4da82b4ed2486.rlib" "/home/d/nannou/target/release/deps/libandrew-011a7621664c5e12.rlib" "/home/d/nannou/target/release/deps/libxml-7b7e176251c2454c.rlib" "/home/d/nannou/target/release/deps/libxdg-d79515792323138c.rlib" "/home/d/nannou/target/release/deps/libwalkdir-0c7134d140a0bdb3.rlib" "/home/d/nannou/target/release/deps/libsame_file-9c6293ee346e7ea5.rlib" "/home/d/nannou/target/release/deps/librusttype-5a0e142647fe016d.rlib" "/home/d/nannou/target/release/deps/libline_drawing-492ddde31af03d26.rlib" "/home/d/nannou/target/release/deps/libdlib-13056f2923611cb5.rlib" "/home/d/nannou/target/release/deps/liblibloading-a06715086aa9a782.rlib" "/home/d/nannou/target/release/deps/libnix-aca3c6d15b1ba2f8.rlib" "/home/d/nannou/target/release/deps/libvoid-5ade95c7d252980f.rlib" "/home/d/nannou/target/release/deps/librusttype-754b40171f75688f.rlib" "/home/d/nannou/target/release/deps/libnum_cpus-488df51d4dd6ae6e.rlib" "/home/d/nannou/target/release/deps/liblibc-52eac59a71a3cdac.rlib" "/home/d/nannou/target/release/deps/libstb_truetype-2840efbac40f0294.rlib" "/home/d/nannou/target/release/deps/libbyteorder-f5751a038a43d23e.rlib" "/home/d/nannou/target/release/deps/libcrossbeam_deque-ee4136b9e1ee080e.rlib" "/home/d/nannou/target/release/deps/libcrossbeam_epoch-e96dda5a580b6c0b.rlib" "/home/d/nannou/target/release/deps/libscopeguard-a78dda392bcde0b7.rlib" "/home/d/nannou/target/release/deps/libmemoffset-2de89229c9bcc22b.rlib" "/home/d/nannou/target/release/deps/libcrossbeam_utils-6dad68db553af84a.rlib" "/home/d/nannou/target/release/deps/liblazy_static-02374f77bb60ebb4.rlib" "/home/d/nannou/target/release/deps/libmaybe_uninit-a298d468830200ff.rlib" "/home/d/nannou/target/release/deps/libcfg_if-e1575648ad89a9c7.rlib" "/home/d/nannou/target/release/deps/librustc_hash-0e9d022971a959cc.rlib" "/home/d/nannou/target/release/deps/liblinked_hash_map-02d69a0cdefbcc72.rlib" "/home/d/nannou/target/release/deps/libordered_float-e5bb8ae5d7f31a1f.rlib" "/home/d/nannou/target/release/deps/libapprox-e658e74ff08bca05.rlib" "/home/d/nannou/target/release/deps/libinput-d9dd102004257ac5.rlib" "/home/d/nannou/target/release/deps/libviewport-3f4644fedd9c65a5.rlib" "/home/d/nannou/target/release/deps/libfloat-d4afd1fe7a735545.rlib" "/home/d/nannou/target/release/deps/libserde-801306f08b8b24ee.rlib" "/home/d/nannou/target/release/deps/libbitflags-057397ee22229dcb.rlib" "/home/d/nannou/target/release/deps/libnum-d11530478db1a93b.rlib" "/home/d/nannou/target/release/deps/libnum_rational-cec1dd869d18288a.rlib" "/home/d/nannou/target/release/deps/libnum_iter-daeb7eca94875253.rlib" "/home/d/nannou/target/release/deps/libnum_complex-0245aefaadb409c9.rlib" "/home/d/nannou/target/release/deps/libnum_bigint-80104a87cf8fd841.rlib" "/home/d/nannou/target/release/deps/libnum_integer-b8faa4107f132c7a.rlib" "/home/d/nannou/target/release/deps/libnum_traits-e6b8128dd5955e6a.rlib" "/home/d/nannou/target/release/deps/libfnv-917efc0ba30c3cb2.rlib" "/home/d/nannou/target/release/deps/libdaggy-93a1a3e831e3250a.rlib" "/home/d/nannou/target/release/deps/libpetgraph-e2707052fc31612b.rlib" "/home/d/nannou/target/release/deps/libfixedbitset-9e32b432eb476392.rlib" "-Wl,--start-group" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-cd1d26a40296c383.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-946c46e8db143ba7.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-3c021fcab48e099a.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-a13ea224b282b67c.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-5291238e126d473c.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-96cf2ffe5c4a068e.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-50615dde840f6f7e.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5ca1a4c2cb5e4ca3.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f62c22d6d8e50f70.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e62c19949099b19e.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-115bdc63c6be79cf.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-19b60dda762cb253.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-310a55b5e5f0453f.rlib" "-Wl,--end-group" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-542e54ad8a770d5e.rlib" "-Wl,-Bdynamic" "-ldl" "-lxcb" "-lxcb" "-lxcb" "-lxcb" "-lxcb-render" "-lxcb-shape" "-lxcb-xfixes" "-ldl" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: cannot find -lxcb-shape
          /usr/bin/ld: cannot find -lxcb-xfixes
          collect2: error: ld returned 1 exit status

error: aborting due to previous error

error: could not compile `examples`.