From 23f4f1f2d0eafa9a39ba3acd2560a30115f16f6c Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Sat, 3 Apr 2021 21:39:49 -0400 Subject: [PATCH] Add note about libcxb libraries --- BUILDING_FROM_SOURCE.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/BUILDING_FROM_SOURCE.md b/BUILDING_FROM_SOURCE.md index 7c9f99c16d..b2f92c10cf 100644 --- a/BUILDING_FROM_SOURCE.md +++ b/BUILDING_FROM_SOURCE.md @@ -23,6 +23,22 @@ For debugging LLVM IR, we use [DebugIR](https://github.com/vaivaswatha/debugir). MacOS systems should already have `libunwind`, but other systems will need to install it (On Ubuntu, this can be donw with `sudo apt-get install libunwind-dev`). Some systems may already have `libc++-dev` on them, but if not, you may need to install it. (On Ubuntu, this can be done with `sudo apt-get install libc++-dev`.) +### libcxb libraries + +You may see an error like this during builds: + +``` +/usr/bin/ld: cannot find -lxcb-render +/usr/bin/ld: cannot find -lxcb-shape +/usr/bin/ld: cannot find -lxcb-xfixes +``` + +If so, you can fix it like so: + +``` +sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev +``` + ### Zig **version: 0.7.x**