From c476c7f1a23381332e44dcd96fd3709df35ff17e Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Wed, 20 Jan 2021 17:27:58 +0100 Subject: [PATCH] Add note about required libraries on Linux Closes https://github.com/emilk/egui/issues/121 --- README.md | 4 +++- eframe/README.md | 2 ++ egui_glium/README.md | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fb2a82dc..6d1ade12 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,9 @@ If you have questions, use [Discussions](https://github.com/emilk/egui/discussio [Click to run egui web demo](https://emilk.github.io/egui/index.html). -[Hobogo](https://emilk.github.io/hobogo/index.html): A small game I made using egui. Source: +To test the demo app locally, run `cargo run --release -p egui_demo_app`. + +On Linux you need to first run `sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev`. ### Example diff --git a/eframe/README.md b/eframe/README.md index a4aa1f5e..5ec75fff 100644 --- a/eframe/README.md +++ b/eframe/README.md @@ -5,3 +5,5 @@ This aims to be the entry-level crate if you want to write an egui app. `eframe` calls into your code (it is a framework) and supports web apps (via [`egui_web`](https://crates.io/crates/egui_web)) and native apps (via [`egui_glium`](https://crates.io/crates/egui_glium)). `eframe` is a very thin crate that re-exports [`egui`](https://crates.io/crates/egui), [`epi`](https://crates.io/crates/epi) and thin wrappers over the backends. + +On Linux you need to first run `sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev` to compile `eframe` natively. diff --git a/egui_glium/README.md b/egui_glium/README.md index ca48ffa4..f2a29bfc 100644 --- a/egui_glium/README.md +++ b/egui_glium/README.md @@ -6,3 +6,5 @@ # egui_glium This crates provides bindings between [egui](https://crates.io/crates/egui) and [glium](https://crates.io/crates/glium) which allows you to write GUI code using egui and compile it and run it natively, cross platform. + +For linux you need to `sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev` to use `egui_glium`.