v xorg-dev</div>
</div><!-- fragment --><p>On Fedora and derivatives like Red Hat you will need the <code>wayland-devel</code> and <code>libxkbcommon-devel</code> packages to compile for Wayland and the <code>libXcursor-devel</code>, <code>libXi-devel</code>, <code>libXinerama-devel</code> and <code>libXrandr-devel</code> packages to compile for X11. These will pull in all other dependencies.</p>
<div class="fragment"><div class="line">sudo dnf install wayland-devel libxkbcommon-devel libXcursor-devel libXi