You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Step 10/14 : RUN cd scrcpy/x && ninja
---> Running in b97ee8d45e48
[1/26] Generating scrcpy-server-prebuilt with a custom command
[2/26] Compiling C object 'app/a172ced@@scrcpy@exe/src_sys_unix_command.c.o'
[3/26] Compiling C object 'app/a172ced@@scrcpy@exe/src_util_str_util.c.o'
[4/26] Compiling C object 'app/a172ced@@scrcpy@exe/src_util_net.c.o'
[5/26] Compiling C object 'app/a172ced@@scrcpy@exe/src_video_buffer.c.o'
[6/26] Compiling C object 'app/a172ced@@scrcpy@exe/src_tiny_xpm.c.o'
[7/26] Compiling C object 'app/a172ced@@scrcpy@exe/src_stream.c.o'
[8/26] Compiling C object 'app/a172ced@@scrcpy@exe/src_server.c.o'
[9/26] Compiling C object 'app/a172ced@@scrcpy@exe/src_screen.c.o'
[10/26] Compiling C object 'app/a172ced@@scrcpy@exe/src_scrcpy.c.o'
[11/26] Compiling C object 'app/a172ced@@scrcpy@exe/src_recorder.c.o'
ninja: job failed: cc -Iapp/a172ced@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/SDL2 -I/usr/include/directfb -flto -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_REENTRANT -MD -MQ 'app/a172ced@@scrcpy@exe/src_scrcpy.c.o' -MF 'app/a172ced@@scrcpy@exe/src_scrcpy.c.o.d' -o 'app/a172ced@@scrcpy@exe/src_scrcpy.c.o' -c ../app/src/scrcpy.c
In file included from /usr/include/SDL2/SDL_opengl.h:2105,
from ../app/src/opengl.h:5,
from ../app/src/screen.h:10,
from ../app/src/input_manager.h:11,
from ../app/src/scrcpy.h:9,
from ../app/src/scrcpy.c:1:
/usr/include/SDL2/SDL_opengl_glext.h:475:10: fatal error: KHR/khrplatform.h: No such file or directory
475 | #include <KHR/khrplatform.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: job failed: cc -Iapp/a172ced@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/SDL2 -I/usr/include/directfb -flto -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_REENTRANT -MD -MQ 'app/a172ced@@scrcpy@exe/src_screen.c.o' -MF 'app/a172ced@@scrcpy@exe/src_screen.c.o.d' -o 'app/a172ced@@scrcpy@exe/src_screen.c.o' -c ../app/src/screen.c
In file included from /usr/include/SDL2/SDL_opengl.h:2105,
from ../app/src/opengl.h:5,
from ../app/src/screen.h:10,
from ../app/src/screen.c:1:
/usr/include/SDL2/SDL_opengl_glext.h:475:10: fatal error: KHR/khrplatform.h: No such file or directory
475 | #include <KHR/khrplatform.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: subcommands failed
The command '/bin/sh -c cd scrcpy/x && ninja' returned a non-zero code: 1
BTW, git clone https://github.com/Genymobile/scrcpy.git would clone full version of scrcpy repo. Maybe better use git clone --depth 1 instead.
The text was updated successfully, but these errors were encountered:
BTW,
git clone https://github.com/Genymobile/scrcpy.git
would clone full version ofscrcpy
repo. Maybe better usegit clone --depth 1
instead.The text was updated successfully, but these errors were encountered: