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