From 2b8e23cfd7a197a922933344019d0ea63f2003cb Mon Sep 17 00:00:00 2001 From: Connor E <38229097+c-edw@users.noreply.github.com> Date: Mon, 7 Jan 2019 09:05:48 +0000 Subject: [PATCH] Updated Development Setup (markdown) --- Development-Setup.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Development-Setup.md b/Development-Setup.md index 39e6035..542334a 100644 --- a/Development-Setup.md +++ b/Development-Setup.md @@ -50,13 +50,15 @@ Execute `source ~/.profile` to update the variables for your current terminal se You're now ready to compile wlroots, which is the Wayland compositor library used by Sway. * Clone the [`wlroots`](https://github.com/swaywm/wlroots) repository with git * Execute `meson build`, which will create the `build` directory -* Execute `sudo ninja -C build install` to build and install wlroots +* Execute `ninja -C build` to build +* Execute `sudo ninja -C build install` to install * Verify that either `/usr/local/lib` or `/usr/local/lib64` contain `libwlroots.so` Now that wlroots is built and installed, you can build Sway. * Clone the [`Sway`](https://github.com/swaywm/sway) repository with git * Execute `meson build`, which will create the `build` directory -* Execute `sudo ninja -C build install` to build and install wlroots +* Execute `ninja -C build` to build +* Execute `sudo ninja -C build install` to install * Verify that `/usr/local/bin` contains the `sway`, `swaybar`, `swaylock`, etc. binaries Since Sway and wlroots development moves quite fast, it's common to have issues compiling Sway if your installed version of wlroots is behind. As a first step of compile error troubleshooting, pull, build, and reinstall wlroots. \ No newline at end of file