sersorrel / edmcoverlay2

Use the fork: https://github.com/pan-mroku/edmcoverlay2 instead!
GNU General Public License v3.0
9 stars 3 forks source link

Fedora: fails to build, missing `Xos.h` #9

Open MNS26 opened 10 months ago

MNS26 commented 10 months ago

when i run make this is the output

❯ make
g++ -g -O1 -std=c++11 -o overlay overlay.cpp gason.cpp json_message.cc socket.cc -lX11 -lXfixes -lXext -Wall
overlay.cpp:23:10: fatal error: X11/Xos.h: No such file or directory
   23 | #include <X11/Xos.h>
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: overlay] Error 1

i have the xorg-x11-server-devel package and its dependencies installed (fedora)

sersorrel commented 10 months ago

unfortunately I don't have a fedora machine to test on, sorry.

apparently you could try using dnf provides to figure out which package you need, e.g. dnf provides '*X11/Xos.h'.

pan-mroku commented 5 months ago

@MNS26 you are missing X11 header files.

On my machine:

$ LANG=C trizen -Qo /usr/include/X11/Xos.h                                                                                                                                                                                                                   [4:03]
/usr/include/X11/Xos.h is owned by xorgproto-git

some random internet search