This repository was archived by the owner on Feb 7, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Steam Deck: fails to build, missing headers #8
Copy link
Copy link
Open
Description
What went wrong here?
g++ -g -O1 -std=c++11 -o overlay overlay.cpp gason.cpp json_message.cc socket.cc -lX11 -lXfixes -lXext -Wall
In file included from /usr/include/c++/12.2.0/x86_64-pc-linux-gnu/bits/c++config.h:655,
from /usr/include/c++/12.2.0/iostream:38,
from overlay.cpp:19:
/usr/include/c++/12.2.0/x86_64-pc-linux-gnu/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory
39 | #include <features.h>
| ^~~~~~~~~~~~
compilation terminated.
In file included from gason.h:24,
from gason.cpp:22:
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
9 | # include_next <stdint.h>
| ^~~~~~~~~~
compilation terminated.
In file included from /usr/include/c++/12.2.0/x86_64-pc-linux-gnu/bits/c++config.h:655,
from /usr/include/c++/12.2.0/string:38,
from json_message.cc:16:
/usr/include/c++/12.2.0/x86_64-pc-linux-gnu/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory
39 | #include <features.h>
| ^~~~~~~~~~~~
compilation terminated.
In file included from socket.cc:15:
socket.hh:22:10: fatal error: unistd.h: No such file or directory
22 | #include <unistd.h>
| ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: overlay] Error 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels