fpv-wtf / dji-moonlight-embedded

GNU General Public License v3.0
10 stars 2 forks source link

Arch Linux Support for DJI Moonlight GUI #7

Open Vertyha opened 6 months ago

Vertyha commented 6 months ago

Hello, is it possible to run Arch Linux, namely on Stem Deck. I tried to execute commands but error in "asm/socket.h"

sudo pacman -S base-devel cmake curl openssl libusb git git clone https://github.com/fpv-wtf/dji-moonlight-embedded.git cd dji-moonlight-embedded git submodule update --init --recursive cmake . make

"[ 1%] Building C object libgamestream/CMakeFiles/moonlight-common.dir//third_party/moonlight-common-c/enet/callbacks.c.o In the file included in /usr/include/sys/socket.h:33, from /home/deck/dji-moonlight-embedded/libgamestream/../third_party/moonlight-common-c/enet/include/enet/unix.h:11, from /home/deck/dji-moonlight-embedded/libgamestream/../third_party/moonlight-common-c/enet/include/enet/enet.h:18, from /home/deck/dji-moonlight-embedded/third_party/moonlight-common-c/enet/callbacks.c:6: /usr/include/bits/socket.h:385:11: fatal error: asm/socket.h: No such file or directory 385 | # include <asm/socket.h> | ^~~~~~ compilation aborted. make[2]: *** [libgamestream/CMakeFiles/moonlight-common.dir/build.make:76: libgamestream/CMakeFiles/moonlight-common.dir//third_party/moonlight-common-c/enet/callbacks.c.o ] Error 1 make[1]: [CMakeFiles/Makefile2:129: libgamestream/CMakeFiles/moonlight-common.dir/all] Error 2 make: [Makefile:136: all] Error 2"