keynav
keynav copied to clipboard
On compilation : Failed to include Xrandr (Elementary OS 5)
Hi,
I got this conf :
- ElementaryOS 5.0 based on Ubuntu 18.04.2 LTS
- Linux 5.3.7-050307-generic
- GTK 3.22.30
While using make, I get this output :
4sstylz@bluebook:~/Programs/keynav(master)$ make
sh version.sh --header > keynav_version.h
cc -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -O2 -c -o keynav.o keynav.c
keynav.c:24:10: fatal error: X11/extensions/Xrandr.h: No such file or directory
#include <X11/extensions/Xrandr.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
<builtin>: recipe for target 'keynav.o' failed
make: *** [keynav.o] Error 1
I have a /etc/x11 folder so I have x11 right ? But I don’t have any extension folder on it.
In some stack overflow question I understanded that xrandr is provided by x11-server-utils but I cannot install this package with apt.
So my questions are :
Is keynav compatible with my distro / environnement ? How to deal with xrandr ?
Thank you.
Just download libxrandr-dev
:
sudo apt-get install libxrandr-dev