Rust-SDL2 / rust-sdl2

SDL2 bindings for Rust
MIT License
2.77k stars 474 forks source link

0.35.1 (git version) bundled feature failed to build sdl2-sys #1169

Closed IceGuye closed 2 years ago

IceGuye commented 2 years ago

OS: Linux Fedora 35, Rust Version: 1.56.1, sdl2 dependencies setting: sdl2 = {git = "https://github.com/Rust-SDL2/rust-sdl2", features = ["mixer", "image", "bundled"]} or sdl2 = {version = "0.35.1", features = ["mixer", "image", "bundled"]}

After running the cargo run --release, I got the following error information:

error: failed to run custom build command for `sdl2-sys v0.35.1 (https://github.com/Rust-SDL2/rust-sdl2#fe411c6b)`

Caused by:
  process didn't exit successfully: `/home/qs/icepiano-r/target/release/build/sdl2-sys-4186ddde8f5cb65d/build-script-build` (exit status: 101)
  --- stdout
  CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
  CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = None
  CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
  CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_GENERATOR = None
  CMAKE_GENERATOR = None
  CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
  CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_x86_64-unknown-linux-gnu = None
  CMAKE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE = None
  CMAKE = None
  running: "cmake" "/home/qs/.cargo/git/checkouts/rust-sdl2-f20db51beeece243/fe411c6/sdl2-sys/SDL" "-DSDL_SHARED=ON" "-DSDL_STATIC=OFF" "-DCMAKE_INSTALL_PREFIX=/home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out" "-DCMAKE_C_FLAGS= -fcommon -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=release"
  -- The C compiler identification is GNU 11.2.1
  -- The CXX compiler identification is GNU 11.2.1
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /usr/bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /usr/bin/c++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") 
  -- Performing Test HAVE_GCC_WALL
  -- Performing Test HAVE_GCC_WALL - Success
  -- Performing Test HAVE_GCC_NO_STRICT_ALIASING
  -- Performing Test HAVE_GCC_NO_STRICT_ALIASING - Success
  -- Performing Test HAVE_GCC_WDECLARATION_AFTER_STATEMENT
  -- Performing Test HAVE_GCC_WDECLARATION_AFTER_STATEMENT - Success
  -- Performing Test HAVE_GCC_WERROR_DECLARATION_AFTER_STATEMENT
  -- Performing Test HAVE_GCC_WERROR_DECLARATION_AFTER_STATEMENT - Success
  -- Performing Test HAVE_GCC_ATOMICS
  -- Performing Test HAVE_GCC_ATOMICS - Success
  -- Performing Test HAVE_GCC_PREFERRED_STACK_BOUNDARY
  -- Performing Test HAVE_GCC_PREFERRED_STACK_BOUNDARY - Failed
  -- Performing Test HAVE_GCC_FVISIBILITY
  -- Performing Test HAVE_GCC_FVISIBILITY - Success
  -- Performing Test HAVE_GCC_WSHADOW
  -- Performing Test HAVE_GCC_WSHADOW - Success
  -- Performing Test HAVE_NO_UNDEFINED
  -- Performing Test HAVE_NO_UNDEFINED - Success
  -- Performing Test HAVE_MMX
  -- Performing Test HAVE_MMX - Success
  -- Performing Test HAVE_3DNOW
  -- Performing Test HAVE_3DNOW - Success
  -- Performing Test HAVE_SSE
  -- Performing Test HAVE_SSE - Success
  -- Performing Test HAVE_SSE2
  -- Performing Test HAVE_SSE2 - Success
  -- Performing Test HAVE_SSE3
  -- Performing Test HAVE_SSE3 - Success
  -- Looking for immintrin.h
  -- Looking for immintrin.h - found
  -- Performing Test HAVE_ALTIVEC_H_HDR
  -- Performing Test HAVE_ALTIVEC_H_HDR - Failed
  -- Performing Test HAVE_ALTIVEC
  -- Performing Test HAVE_ALTIVEC - Failed
  -- Looking for sys/types.h
  -- Looking for sys/types.h - found
  -- Looking for stdio.h
  -- Looking for stdio.h - found
  -- Looking for stdlib.h
  -- Looking for stdlib.h - found
  -- Looking for stddef.h
  -- Looking for stddef.h - found
  -- Looking for stdarg.h
  -- Looking for stdarg.h - found
  -- Looking for malloc.h
  -- Looking for malloc.h - found
  -- Looking for memory.h
  -- Looking for memory.h - found
  -- Looking for string.h
  -- Looking for string.h - found
  -- Looking for limits.h
  -- Looking for limits.h - found
  -- Looking for strings.h
  -- Looking for strings.h - found
  -- Looking for wchar.h
  -- Looking for wchar.h - found
  -- Looking for inttypes.h
  -- Looking for inttypes.h - found
  -- Looking for stdint.h
  -- Looking for stdint.h - found
  -- Looking for ctype.h
  -- Looking for ctype.h - found
  -- Looking for math.h
  -- Looking for math.h - found
  -- Looking for iconv.h
  -- Looking for iconv.h - found
  -- Looking for signal.h
  -- Looking for signal.h - found
  -- Looking for libunwind.h
  -- Looking for libunwind.h - not found
  -- Looking for 7 include files stddef.h, ..., float.h
  -- Looking for 7 include files stddef.h, ..., float.h - found
  -- Check size of size_t
  -- Check size of size_t - done
  -- Looking for M_PI
  -- Looking for M_PI - found
  -- Performing Test HAVE_MPROTECT
  -- Performing Test HAVE_MPROTECT - Success
  -- Looking for strtod
  -- Looking for strtod - found
  -- Looking for malloc
  -- Looking for malloc - found
  -- Looking for calloc
  -- Looking for calloc - found
  -- Looking for realloc
  -- Looking for realloc - found
  -- Looking for free
  -- Looking for free - found
  -- Looking for getenv
  -- Looking for getenv - found
  -- Looking for setenv
  -- Looking for setenv - found
  -- Looking for putenv
  -- Looking for putenv - found
  -- Looking for unsetenv
  -- Looking for unsetenv - found
  -- Looking for qsort
  -- Looking for qsort - found
  -- Looking for abs
  -- Looking for abs - found
  -- Looking for bcopy
  -- Looking for bcopy - found
  -- Looking for memset
  -- Looking for memset - found
  -- Looking for memcpy
  -- Looking for memcpy - found
  -- Looking for memmove
  -- Looking for memmove - found
  -- Looking for memcmp
  -- Looking for memcmp - found
  -- Looking for strlen
  -- Looking for strlen - found
  -- Looking for strlcpy
  -- Looking for strlcpy - not found
  -- Looking for strlcat
  -- Looking for strlcat - not found
  -- Looking for _strrev
  -- Looking for _strrev - not found
  -- Looking for _strupr
  -- Looking for _strupr - not found
  -- Looking for _strlwr
  -- Looking for _strlwr - not found
  -- Looking for index
  -- Looking for index - found
  -- Looking for rindex
  -- Looking for rindex - found
  -- Looking for strchr
  -- Looking for strchr - found
  -- Looking for strrchr
  -- Looking for strrchr - found
  -- Looking for strstr
  -- Looking for strstr - found
  -- Looking for strtok_r
  -- Looking for strtok_r - found
  -- Looking for itoa
  -- Looking for itoa - not found
  -- Looking for _ltoa
  -- Looking for _ltoa - not found
  -- Looking for _uitoa
  -- Looking for _uitoa - not found
  -- Looking for _ultoa
  -- Looking for _ultoa - not found
  -- Looking for strtol
  -- Looking for strtol - found
  -- Looking for strtoul
  -- Looking for strtoul - found
  -- Looking for _i64toa
  -- Looking for _i64toa - not found
  -- Looking for _ui64toa
  -- Looking for _ui64toa - not found
  -- Looking for strtoll
  -- Looking for strtoll - found
  -- Looking for strtoull
  -- Looking for strtoull - found
  -- Looking for atoi
  -- Looking for atoi - found
  -- Looking for atof
  -- Looking for atof - found
  -- Looking for strcmp
  -- Looking for strcmp - found
  -- Looking for strncmp
  -- Looking for strncmp - found
  -- Looking for _stricmp
  -- Looking for _stricmp - not found
  -- Looking for strcasecmp
  -- Looking for strcasecmp - found
  -- Looking for _strnicmp
  -- Looking for _strnicmp - not found
  -- Looking for strncasecmp
  -- Looking for strncasecmp - found
  -- Looking for wcscmp
  -- Looking for wcscmp - found
  -- Looking for _wcsdup
  -- Looking for _wcsdup - not found
  -- Looking for wcsdup
  -- Looking for wcsdup - found
  -- Looking for wcslcat
  -- Looking for wcslcat - not found
  -- Looking for wcslcpy
  -- Looking for wcslcpy - not found
  -- Looking for wcslen
  -- Looking for wcslen - found
  -- Looking for wcsncmp
  -- Looking for wcsncmp - found
  -- Looking for wcsstr
  -- Looking for wcsstr - found
  -- Looking for wcscasecmp
  -- Looking for wcscasecmp - found
  -- Looking for _wcsicmp
  -- Looking for _wcsicmp - not found
  -- Looking for wcsncasecmp
  -- Looking for wcsncasecmp - found
  -- Looking for _wcsnicmp
  -- Looking for _wcsnicmp - not found
  -- Looking for sscanf
  -- Looking for sscanf - found
  -- Looking for vsscanf
  -- Looking for vsscanf - found
  -- Looking for vsnprintf
  -- Looking for vsnprintf - found
  -- Looking for fopen64
  -- Looking for fopen64 - not found
  -- Looking for fseeko
  -- Looking for fseeko - found
  -- Looking for fseeko64
  -- Looking for fseeko64 - not found
  -- Looking for _Exit
  -- Looking for _Exit - found
  -- Looking for sigaction
  -- Looking for sigaction - found
  -- Looking for setjmp
  -- Looking for setjmp - found
  -- Looking for nanosleep
  -- Looking for nanosleep - found
  -- Looking for sysconf
  -- Looking for sysconf - found
  -- Looking for sysctlbyname
  -- Looking for sysctlbyname - not found
  -- Looking for getauxval
  -- Looking for getauxval - found
  -- Looking for elf_aux_info
  -- Looking for elf_aux_info - not found
  -- Looking for poll
  -- Looking for poll - found
  -- Looking for pow in m
  -- Looking for pow in m - found
  -- Looking for atan
  -- Looking for atan - found
  -- Looking for atan2
  -- Looking for atan2 - found
  -- Looking for atanf
  -- Looking for atanf - found
  -- Looking for atan2f
  -- Looking for atan2f - found
  -- Looking for ceil
  -- Looking for ceil - found
  -- Looking for ceilf
  -- Looking for ceilf - found
  -- Looking for copysign
  -- Looking for copysign - found
  -- Looking for copysignf
  -- Looking for copysignf - found
  -- Looking for cos
  -- Looking for cos - found
  -- Looking for cosf
  -- Looking for cosf - found
  -- Looking for exp
  -- Looking for exp - found
  -- Looking for expf
  -- Looking for expf - found
  -- Looking for fabs
  -- Looking for fabs - found
  -- Looking for fabsf
  -- Looking for fabsf - found
  -- Looking for floor
  -- Looking for floor - found
  -- Looking for floorf
  -- Looking for floorf - found
  -- Looking for fmod
  -- Looking for fmod - found
  -- Looking for fmodf
  -- Looking for fmodf - found
  -- Looking for log
  -- Looking for log - found
  -- Looking for logf
  -- Looking for logf - found
  -- Looking for log10
  -- Looking for log10 - found
  -- Looking for log10f
  -- Looking for log10f - found
  -- Looking for lround
  -- Looking for lround - found
  -- Looking for lroundf
  -- Looking for lroundf - found
  -- Looking for pow
  -- Looking for pow - found
  -- Looking for powf
  -- Looking for powf - found
  -- Looking for round
  -- Looking for round - found
  -- Looking for roundf
  -- Looking for roundf - found
  -- Looking for scalbn
  -- Looking for scalbn - found
  -- Looking for scalbnf
  -- Looking for scalbnf - found
  -- Looking for sin
  -- Looking for sin - found
  -- Looking for sinf
  -- Looking for sinf - found
  -- Looking for sqrt
  -- Looking for sqrt - found
  -- Looking for sqrtf
  -- Looking for sqrtf - found
  -- Looking for tan
  -- Looking for tan - found
  -- Looking for tanf
  -- Looking for tanf - found
  -- Looking for acos
  -- Looking for acos - found
  -- Looking for acosf
  -- Looking for acosf - found
  -- Looking for asin
  -- Looking for asin - found
  -- Looking for asinf
  -- Looking for asinf - found
  -- Looking for trunc
  -- Looking for trunc - found
  -- Looking for truncf
  -- Looking for truncf - found
  -- Looking for iconv_open in iconv
  -- Looking for iconv_open in iconv - not found
  -- Looking for iconv_open in c
  -- Looking for iconv_open in c - found
  -- Looking for alloca.h
  -- Looking for alloca.h - found
  -- Looking for alloca
  -- Looking for alloca - found
  -- Looking for alloca
  -- Looking for alloca - found
  -- Looking for alloca
  -- Looking for alloca - not found
  -- Performing Test HAVE_SA_SIGACTION
  -- Performing Test HAVE_SA_SIGACTION - Success
  -- Looking for dlopen
  -- Looking for dlopen - found
  -- Performing Test OSS_FOUND
  -- Performing Test OSS_FOUND - Success
  -- Looking for alsa/asoundlib.h
  -- Looking for alsa/asoundlib.h - found
  -- Looking for snd_pcm_recover in asound
  -- Looking for snd_pcm_recover in asound - found
  -- dynamic libasound -> libasound.so.2
  -- Checking for module 'jack'
  --   Found jack, version 1.9.19
  -- dynamic libjack -> libjack.so.0
  -- Checking for module 'libpipewire-0.3>=0.3.20'
  --   Package 'libpipewire-0.3', required by 'virtual:world', not found
  -- Checking for module 'libpulse-simple'
  --   Package 'libpulse-simple', required by 'virtual:world', not found
  -- Checking for module 'esound'
  --   Package 'esound', required by 'virtual:world', not found
  -- Looking for audio/audiolib.h
  -- Looking for audio/audiolib.h - not found
  -- Looking for sndio.h
  -- Looking for sndio.h - not found
  -- Looking for samplerate.h
  -- Looking for samplerate.h - not found
  -- Checking for modules 'bcm_host;brcmegl'
  --   Package 'bcm_host', required by 'virtual:world', not found
  --   Package 'brcmegl', required by 'virtual:world', not found
  -- Performing Test HAVE_VIDEO_RPI
  -- Performing Test HAVE_VIDEO_RPI - Failed
  -- dynamic libX11 -> libX11.so.6
  -- dynamic libXext -> libXext.so.6
  -- dynamic libXcursor -> libXcursor.so.1
  -- dynamic libXinerama -> libXinerama.so.1
  -- dynamic libXi -> libXi.so.6
  -- dynamic libXrandr -> libXrandr.so.2
  -- dynamic libXrender -> libXrender.so.1
  -- Looking for X11/Xcursor/Xcursor.h
  -- Looking for X11/Xcursor/Xcursor.h - found
  -- Looking for X11/extensions/Xinerama.h
  -- Looking for X11/extensions/Xinerama.h - found
  -- Looking for X11/extensions/XInput2.h
  -- Looking for X11/extensions/XInput2.h - found
  -- Looking for X11/extensions/Xrandr.h
  -- Looking for X11/extensions/Xrandr.h - found
  -- Looking for X11/extensions/Xrender.h
  -- Looking for X11/extensions/Xrender.h - found
  -- Looking for X11/extensions/scrnsaver.h
  -- Looking for X11/extensions/scrnsaver.h - not found
  -- Looking for X11/extensions/shape.h
  -- Looking for X11/extensions/shape.h - found
  -- Looking for include files X11/Xlib.h, X11/extensions/xf86vmode.h
  -- Looking for include files X11/Xlib.h, X11/extensions/xf86vmode.h - not found
  -- Looking for 3 include files X11/Xlib.h, ..., X11/extensions/Xext.h
  -- Looking for 3 include files X11/Xlib.h, ..., X11/extensions/Xext.h - found
  -- Looking for shmat
  -- Looking for shmat - found
  -- Performing Test HAVE_CONST_XEXT_ADDDISPLAY
  -- Performing Test HAVE_CONST_XEXT_ADDDISPLAY - Success
  -- Performing Test HAVE_XGENERICEVENT
  -- Performing Test HAVE_XGENERICEVENT - Success
  -- Looking for XkbKeycodeToKeysym
  -- Looking for XkbKeycodeToKeysym - found
  -- Performing Test HAVE_XINPUT2_MULTITOUCH
  -- Performing Test HAVE_XINPUT2_MULTITOUCH - Success
  -- Checking for module 'egl'
  --   Found egl, version 1.5
  -- Performing Test HAVE_VIDEO_OPENGL_EGL
  -- Performing Test HAVE_VIDEO_OPENGL_EGL - Success
  -- Checking for modules 'libdrm;gbm;egl'
  --   Package 'libdrm', required by 'virtual:world', not found
  --   Package 'gbm', required by 'virtual:world', not found
  -- Performing Test HAVE_VIDEO_OPENGL_GLX
  -- Performing Test HAVE_VIDEO_OPENGL_GLX - Success
  -- Performing Test HAVE_VIDEO_OPENGL
  -- Performing Test HAVE_VIDEO_OPENGL - Success
  -- Performing Test HAVE_VIDEO_OPENGLES_V1
  -- Performing Test HAVE_VIDEO_OPENGLES_V1 - Success
  -- Performing Test HAVE_VIDEO_OPENGLES_V2
  -- Performing Test HAVE_VIDEO_OPENGLES_V2 - Success
  -- Checking for modules 'wayland-client;wayland-scanner;wayland-egl;wayland-cursor;egl;xkbcommon'
  --   Found wayland-client, version 1.19.0
  --   Found wayland-scanner, version 1.19.0
  --   Found wayland-egl, version 18.1.0
  --   Found wayland-cursor, version 1.19.0
  --   Found egl, version 1.5
  --   Found xkbcommon, version 1.3.1
  -- Checking for module 'wayland-scanner>=1.15'
  --   Found wayland-scanner, version 1.19.0
  -- dynamic libwayland-client -> libwayland-client.so.0
  -- dynamic libwayland-egl -> libwayland-egl.so.1
  -- dynamic libwayland-cursor -> libwayland-cursor.so.0
  -- dynamic libxkbcommon -> libxkbcommon.so.0
  -- Checking for module 'libdecor-0'
  --   Package 'libdecor-0', required by 'virtual:world', not found
  -- Performing Test HAVE_VIDEO_VIVANTE_VDK
  -- Performing Test HAVE_VIDEO_VIVANTE_VDK - Failed
  -- Performing Test HAVE_VIDEO_VIVANTE_EGL_FB
  -- Performing Test HAVE_VIDEO_VIVANTE_EGL_FB - Failed
  -- Performing Test HAVE_INPUT_EVENTS
  -- Performing Test HAVE_INPUT_EVENTS - Success
  -- Performing Test HAVE_INPUT_KD
  -- Performing Test HAVE_INPUT_KD - Success
  -- Looking for libudev.h
  -- Looking for libudev.h - not found
  -- Looking for sys/inotify.h
  -- Looking for sys/inotify.h - found
  -- Looking for inotify_init
  -- Looking for inotify_init - found
  -- Looking for inotify_init1
  -- Looking for inotify_init1 - found
  -- Checking for one of the modules 'dbus-1;dbus'
  -- Checking for one of the modules 'ibus-1.0;ibus'
  -- Performing Test HAVE_PTHREADS
  -- Performing Test HAVE_PTHREADS - Success
  -- Performing Test HAVE_RECURSIVE_MUTEXES
  -- Performing Test HAVE_RECURSIVE_MUTEXES - Success
  -- Performing Test HAVE_PTHREADS_SEM
  -- Performing Test HAVE_PTHREADS_SEM - Success
  -- Performing Test HAVE_SEM_TIMEDWAIT
  -- Performing Test HAVE_SEM_TIMEDWAIT - Success
  -- Looking for include file pthread.h
  -- Looking for include file pthread.h - found
  -- Looking for include file pthread_np.h
  -- Looking for include file pthread_np.h - not found
  -- Looking for pthread_setname_np
  -- Looking for pthread_setname_np - not found
  -- Looking for linux/version.h
  -- Looking for linux/version.h - found
  -- Performing Test HAVE_ENABLE_NEW_DTAGS
  -- Performing Test HAVE_ENABLE_NEW_DTAGS - Success
  -- 
  -- SDL2 was configured with the following options:
  -- 
  -- Platform: Linux-5.14.17-301.fc35.x86_64
  -- 64-bit:   TRUE
  -- Compiler: /usr/bin/cc
  -- 
  -- Subsystems:
  --   Atomic:  ON
  --   Audio:   ON
  --   Video:   ON
  --   Render:  ON
  --   Events:  ON
  --   Joystick:    ON
  --   Haptic:  ON
  --   Power:   ON
  --   Threads: ON
  --   Timers:  ON
  --   File:    ON
  --   Loadso:  ON
  --   CPUinfo: ON
  --   Filesystem:  ON
  --   Dlopen:  ON
  --   Sensor:  ON
  --   Locale:  ON
  -- 
  -- Options:
  --   3DNOW                  (Wanted: ON): ON
  --   ALSA                   (Wanted: ON): ON
  --   ALSA_SHARED            (Wanted: ON): ON
  --   ALTIVEC                (Wanted: ON): OFF
  --   ARMNEON                (Wanted: OFF): OFF
  --   ARMSIMD                (Wanted: OFF): OFF
  --   ARTS                   (Wanted: ON): OFF
  --   ARTS_SHARED            (Wanted: ON): OFF
  --   ASAN                   (Wanted: OFF): OFF
  --   ASSEMBLY               (Wanted: ON): ON
  --   ASSERTIONS             (Wanted: auto): auto
  --   BACKGROUNDING_SIGNAL   (Wanted: OFF): OFF
  --   CLOCK_GETTIME          (Wanted: OFF): OFF
  --   DIRECTFB_SHARED        (Wanted: OFF): OFF
  --   DIRECTX                (Wanted: OFF): OFF
  --   DISKAUDIO              (Wanted: ON): ON
  --   DUMMYAUDIO             (Wanted: ON): ON
  --   ESD                    (Wanted: ON): OFF
  --   ESD_SHARED             (Wanted: ON): OFF
  --   FOREGROUNDING_SIGNAL   (Wanted: OFF): OFF
  --   FUSIONSOUND            (Wanted: OFF): OFF
  --   FUSIONSOUND_SHARED     (Wanted: OFF): OFF
  --   GCC_ATOMICS            (Wanted: ON): ON
  --   HIDAPI                 (Wanted: OFF): OFF
  --   JACK                   (Wanted: ON): ON
  --   JACK_SHARED            (Wanted: ON): ON
  --   JOYSTICK_VIRTUAL       (Wanted: ON): OFF
  --   KMSDRM_SHARED          (Wanted: ON): OFF
  --   LIBC                   (Wanted: ON): ON
  --   LIBDECOR_SHARED        (Wanted: ON): OFF
  --   LIBSAMPLERATE          (Wanted: ON): OFF
  --   LIBSAMPLERATE_SHARED   (Wanted: ON): OFF
  --   MMX                    (Wanted: ON): ON
  --   NAS                    (Wanted: ON): OFF
  --   NAS_SHARED             (Wanted: ON): OFF
  --   OSS                    (Wanted: ON): ON
  --   PIPEWIRE               (Wanted: ON): OFF
  --   PIPEWIRE_SHARED        (Wanted: ON): OFF
  --   PTHREADS               (Wanted: ON): ON
  --   PTHREADS_SEM           (Wanted: ON): ON
  --   PULSEAUDIO             (Wanted: ON): OFF
  --   PULSEAUDIO_SHARED      (Wanted: ON): OFF
  --   RENDER_D3D             (Wanted: OFF): OFF
  --   RENDER_METAL           (Wanted: OFF): OFF
  --   RPATH                  (Wanted: ON): ON
  --   SDL_DLOPEN             (Wanted: ON): ON
  --   SDL_STATIC_PIC         (Wanted: OFF): OFF
  --   SDL_TEST               (Wanted: OFF): OFF
  --   SNDIO                  (Wanted: ON): OFF
  --   SNDIO_SHARED           (Wanted: ON): OFF
  --   SSE                    (Wanted: ON): ON
  --   SSE2                   (Wanted: ON): ON
  --   SSE3                   (Wanted: ON): ON
  --   SSEMATH                (Wanted: ON): OFF
  --   VIDEO_COCOA            (Wanted: OFF): OFF
  --   VIDEO_DIRECTFB         (Wanted: OFF): OFF
  --   VIDEO_DUMMY            (Wanted: ON): ON
  --   VIDEO_KMSDRM           (Wanted: ON): OFF
  --   VIDEO_METAL            (Wanted: OFF): OFF
  --   VIDEO_OFFSCREEN        (Wanted: OFF): OFF
  --   VIDEO_OPENGL           (Wanted: ON): ON
  --   VIDEO_OPENGLES         (Wanted: ON): ON
  --   VIDEO_RPI              (Wanted: ON): OFF
  --   VIDEO_VIVANTE          (Wanted: ON): OFF
  --   VIDEO_VULKAN           (Wanted: ON): ON
  --   VIDEO_WAYLAND          (Wanted: ON): ON
  --   VIDEO_WAYLAND_QT_TOUCH (Wanted: ON): ON
  --   VIDEO_X11              (Wanted: ON): ON
  --   VIDEO_X11_XCURSOR      (Wanted: ON): ON
  --   VIDEO_X11_XINERAMA     (Wanted: ON): ON
  --   VIDEO_X11_XINPUT       (Wanted: ON): ON
  --   VIDEO_X11_XRANDR       (Wanted: ON): ON
  --   VIDEO_X11_XSCRNSAVER   (Wanted: ON): OFF
  --   VIDEO_X11_XSHAPE       (Wanted: ON): ON
  --   VIDEO_X11_XVM          (Wanted: ON): OFF
  --   WASAPI                 (Wanted: OFF): OFF
  --   WAYLAND_LIBDECOR       (Wanted: ON): OFF
  --   WAYLAND_SHARED         (Wanted: ON): ON
  --   X11_SHARED             (Wanted: ON): ON
  --   XINPUT                 (Wanted: OFF): OFF
  -- 
  --  CFLAGS:         -fcommon -ffunction-sections -fdata-sections -fPIC -m64 -idirafter "/home/qs/.cargo/git/checkouts/rust-sdl2-f20db51beeece243/fe411c6/sdl2-sys/SDL/src/video/khronos" -DHAVE_LINUX_VERSION_H
  --  EXTRA_CFLAGS:  -D_REENTRANT -I/usr/include -msse3 -msse2 -msse -m3dnow -mmmx -Wshadow -fvisibility=hidden -Wdeclaration-after-statement -Werror=declaration-after-statement -fno-strict-aliasing -Wall 
  --  EXTRA_LDFLAGS: -Wl,--no-undefined;-pthread
  --  EXTRA_LIBS:    m;dbus-1
  -- 
  --  Build Shared Library: ON
  --  Build Static Library: OFF
  -- 
  -- If something was not detected, although the libraries
  -- were installed, then make sure you have set the
  -- CFLAGS and LDFLAGS environment variables correctly.
  -- 
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/build
  running: "cmake" "--build" "." "--target" "install" "--config" "release" "--parallel" "16"
  [  0%] Generating wayland-generated-protocols/pointer-constraints-unstable-v1-client-protocol.h
  [  1%] Generating wayland-generated-protocols/wayland-client-protocol.h
  [  2%] Generating wayland-generated-protocols/relative-pointer-unstable-v1-client-protocol.h
  [  2%] Generating wayland-generated-protocols/idle-inhibit-unstable-v1-client-protocol.h
  [  2%] Generating wayland-generated-protocols/xdg-shell-client-protocol.h
  [  3%] Generating wayland-generated-protocols/keyboard-shortcuts-inhibit-unstable-v1-client-protocol.h
  [  4%] Generating wayland-generated-protocols/xdg-decoration-unstable-v1-client-protocol.h
  [  4%] Building C object CMakeFiles/SDL2main.dir/src/main/dummy/SDL_dummy_main.c.o
  [  4%] Generating wayland-generated-protocols/text-input-unstable-v3-client-protocol.h
  [  5%] Generating wayland-generated-protocols/pointer-constraints-unstable-v1-protocol.c
  [  5%] Generating wayland-generated-protocols/xdg-activation-v1-client-protocol.h
  [  5%] Generating wayland-generated-protocols/relative-pointer-unstable-v1-protocol.c
  [  5%] Generating wayland-generated-protocols/wayland-protocol.c
  [  5%] Generating wayland-generated-protocols/keyboard-shortcuts-inhibit-unstable-v1-protocol.c
  [  5%] Generating wayland-generated-protocols/idle-inhibit-unstable-v1-protocol.c
  [  6%] Generating wayland-generated-protocols/text-input-unstable-v3-protocol.c
  [  7%] Generating wayland-generated-protocols/xdg-shell-protocol.c
  [  7%] Generating wayland-generated-protocols/xdg-decoration-unstable-v1-protocol.c
  [  8%] Generating wayland-generated-protocols/xdg-activation-v1-protocol.c
  [  9%] Building C object CMakeFiles/SDL2.dir/src/SDL_dataqueue.c.o
  [  9%] Building C object CMakeFiles/SDL2.dir/src/SDL_assert.c.o
  [ 10%] Building C object CMakeFiles/SDL2.dir/src/atomic/SDL_atomic.c.o
  [ 12%] Building C object CMakeFiles/SDL2.dir/src/SDL.c.o
  [ 12%] Building C object CMakeFiles/SDL2.dir/src/audio/SDL_mixer.c.o
  [ 12%] Building C object CMakeFiles/SDL2.dir/src/SDL_log.c.o
  [ 13%] Linking C static library libSDL2main.a
  [ 13%] Building C object CMakeFiles/SDL2.dir/src/audio/SDL_audiotypecvt.c.o
  [ 14%] Building C object CMakeFiles/SDL2.dir/src/SDL_hints.c.o
  [ 14%] Building C object CMakeFiles/SDL2.dir/src/SDL_error.c.o
  [ 14%] Building C object CMakeFiles/SDL2.dir/src/audio/SDL_audiocvt.c.o
  [ 14%] Building C object CMakeFiles/SDL2.dir/src/atomic/SDL_spinlock.c.o
  [ 15%] Building C object CMakeFiles/SDL2.dir/src/audio/SDL_audio.c.o
  [ 16%] Building C object CMakeFiles/SDL2.dir/src/audio/SDL_audiodev.c.o
  [ 16%] Building C object CMakeFiles/SDL2.dir/src/audio/SDL_wave.c.o
  [ 17%] Building C object CMakeFiles/SDL2.dir/src/cpuinfo/SDL_cpuinfo.c.o
  [ 17%] Built target SDL2main
  [ 17%] Building C object CMakeFiles/SDL2.dir/src/dynapi/SDL_dynapi.c.o
  [ 18%] Building C object CMakeFiles/SDL2.dir/src/events/SDL_clipboardevents.c.o
  [ 19%] Building C object CMakeFiles/SDL2.dir/src/events/SDL_dropevents.c.o
  [ 18%] Building C object CMakeFiles/SDL2.dir/src/events/SDL_displayevents.c.o
  [ 19%] Building C object CMakeFiles/SDL2.dir/src/events/SDL_events.c.o
  [ 20%] Building C object CMakeFiles/SDL2.dir/src/events/SDL_gesture.c.o
  [ 20%] Building C object CMakeFiles/SDL2.dir/src/events/SDL_keyboard.c.o
  [ 21%] Building C object CMakeFiles/SDL2.dir/src/events/SDL_mouse.c.o
  [ 21%] Building C object CMakeFiles/SDL2.dir/src/events/SDL_quit.c.o
  [ 22%] Building C object CMakeFiles/SDL2.dir/src/events/SDL_touch.c.o
  [ 22%] Building C object CMakeFiles/SDL2.dir/src/events/SDL_windowevents.c.o
  [ 23%] Building C object CMakeFiles/SDL2.dir/src/file/SDL_rwops.c.o
  [ 23%] Building C object CMakeFiles/SDL2.dir/src/haptic/SDL_haptic.c.o
  [ 24%] Building C object CMakeFiles/SDL2.dir/src/libm/e_atan2.c.o
  [ 24%] Building C object CMakeFiles/SDL2.dir/src/libm/e_exp.c.o
  [ 25%] Building C object CMakeFiles/SDL2.dir/src/libm/e_fmod.c.o
  [ 25%] Building C object CMakeFiles/SDL2.dir/src/libm/e_log.c.o
  [ 26%] Building C object CMakeFiles/SDL2.dir/src/libm/e_log10.c.o
  [ 26%] Building C object CMakeFiles/SDL2.dir/src/libm/e_pow.c.o
  [ 27%] Building C object CMakeFiles/SDL2.dir/src/libm/e_rem_pio2.c.o
  [ 27%] Building C object CMakeFiles/SDL2.dir/src/libm/e_sqrt.c.o
  [ 28%] Building C object CMakeFiles/SDL2.dir/src/libm/k_cos.c.o
  [ 28%] Building C object CMakeFiles/SDL2.dir/src/libm/k_rem_pio2.c.o
  [ 29%] Building C object CMakeFiles/SDL2.dir/src/libm/k_sin.c.o
  [ 29%] Building C object CMakeFiles/SDL2.dir/src/libm/k_tan.c.o
  [ 30%] Building C object CMakeFiles/SDL2.dir/src/libm/s_atan.c.o
  [ 30%] Building C object CMakeFiles/SDL2.dir/src/libm/s_copysign.c.o
  [ 31%] Building C object CMakeFiles/SDL2.dir/src/libm/s_cos.c.o
  [ 31%] Building C object CMakeFiles/SDL2.dir/src/libm/s_fabs.c.o
  [ 32%] Building C object CMakeFiles/SDL2.dir/src/libm/s_floor.c.o
  [ 32%] Building C object CMakeFiles/SDL2.dir/src/libm/s_scalbn.c.o
  [ 33%] Building C object CMakeFiles/SDL2.dir/src/libm/s_sin.c.o
  [ 33%] Building C object CMakeFiles/SDL2.dir/src/libm/s_tan.c.o
  [ 34%] Building C object CMakeFiles/SDL2.dir/src/locale/SDL_locale.c.o
  [ 34%] Building C object CMakeFiles/SDL2.dir/src/misc/SDL_url.c.o
  [ 35%] Building C object CMakeFiles/SDL2.dir/src/power/SDL_power.c.o
  [ 35%] Building C object CMakeFiles/SDL2.dir/src/render/SDL_d3dmath.c.o
  [ 36%] Building C object CMakeFiles/SDL2.dir/src/render/SDL_render.c.o
  [ 36%] Building C object CMakeFiles/SDL2.dir/src/render/SDL_yuv_sw.c.o
  [ 37%] Building C object CMakeFiles/SDL2.dir/src/render/direct3d/SDL_render_d3d.c.o
  [ 37%] Building C object CMakeFiles/SDL2.dir/src/render/direct3d/SDL_shaders_d3d.c.o
  [ 38%] Building C object CMakeFiles/SDL2.dir/src/render/direct3d11/SDL_render_d3d11.c.o
  [ 39%] Building C object CMakeFiles/SDL2.dir/src/render/direct3d11/SDL_shaders_d3d11.c.o
  [ 39%] Building C object CMakeFiles/SDL2.dir/src/render/opengl/SDL_render_gl.c.o
  [ 39%] Building C object CMakeFiles/SDL2.dir/src/render/opengl/SDL_shaders_gl.c.o
  [ 40%] Building C object CMakeFiles/SDL2.dir/src/render/opengles/SDL_render_gles.c.o
  [ 40%] Building C object CMakeFiles/SDL2.dir/src/render/opengles2/SDL_render_gles2.c.o
  [ 41%] Building C object CMakeFiles/SDL2.dir/src/render/opengles2/SDL_shaders_gles2.c.o
  [ 41%] Building C object CMakeFiles/SDL2.dir/src/render/psp/SDL_render_psp.c.o
  [ 42%] Building C object CMakeFiles/SDL2.dir/src/render/software/SDL_blendline.c.o
  [ 42%] Building C object CMakeFiles/SDL2.dir/src/render/software/SDL_blendfillrect.c.o
  [ 43%] Building C object CMakeFiles/SDL2.dir/src/render/software/SDL_blendpoint.c.o
  [ 43%] Building C object CMakeFiles/SDL2.dir/src/render/software/SDL_drawline.c.o
  [ 44%] Building C object CMakeFiles/SDL2.dir/src/render/software/SDL_drawpoint.c.o
  [ 44%] Building C object CMakeFiles/SDL2.dir/src/render/software/SDL_render_sw.c.o
  [ 45%] Building C object CMakeFiles/SDL2.dir/src/render/software/SDL_rotate.c.o
  [ 45%] Building C object CMakeFiles/SDL2.dir/src/render/vitagxm/SDL_render_vita_gxm.c.o
  [ 46%] Building C object CMakeFiles/SDL2.dir/src/render/vitagxm/SDL_render_vita_gxm_memory.c.o
  [ 46%] Building C object CMakeFiles/SDL2.dir/src/render/vitagxm/SDL_render_vita_gxm_tools.c.o
  [ 47%] Building C object CMakeFiles/SDL2.dir/src/sensor/SDL_sensor.c.o
  [ 47%] Building C object CMakeFiles/SDL2.dir/src/stdlib/SDL_crc32.c.o
  [ 48%] Building C object CMakeFiles/SDL2.dir/src/stdlib/SDL_getenv.c.o
  [ 48%] Building C object CMakeFiles/SDL2.dir/src/stdlib/SDL_iconv.c.o
  [ 49%] Building C object CMakeFiles/SDL2.dir/src/stdlib/SDL_malloc.c.o
  [ 49%] Building C object CMakeFiles/SDL2.dir/src/stdlib/SDL_qsort.c.o
  [ 50%] Building C object CMakeFiles/SDL2.dir/src/stdlib/SDL_stdlib.c.o
  [ 50%] Building C object CMakeFiles/SDL2.dir/src/stdlib/SDL_string.c.o
  [ 51%] Building C object CMakeFiles/SDL2.dir/src/stdlib/SDL_strtokr.c.o
  [ 51%] Building C object CMakeFiles/SDL2.dir/src/thread/SDL_thread.c.o
  [ 52%] Building C object CMakeFiles/SDL2.dir/src/timer/SDL_timer.c.o
  [ 52%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_RLEaccel.c.o
  [ 53%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_blit.c.o
  [ 53%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_blit_0.c.o
  [ 54%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_blit_1.c.o
  [ 54%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_blit_A.c.o
  [ 55%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_blit_N.c.o
  [ 55%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_blit_auto.c.o
  [ 56%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_blit_copy.c.o
  [ 56%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_blit_slow.c.o
  [ 57%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_bmp.c.o
  [ 57%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_clipboard.c.o
  [ 58%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_egl.c.o
  [ 58%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_fillrect.c.o
  [ 59%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_pixels.c.o
  [ 59%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_rect.c.o
  [ 60%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_shape.c.o
  [ 60%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_stretch.c.o
  [ 61%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_surface.c.o
  [ 61%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_video.c.o
  [ 62%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_vulkan_utils.c.o
  [ 62%] Building C object CMakeFiles/SDL2.dir/src/video/SDL_yuv.c.o
  [ 63%] Building C object CMakeFiles/SDL2.dir/src/video/yuv2rgb/yuv_rgb.c.o
  [ 63%] Building C object CMakeFiles/SDL2.dir/src/joystick/SDL_gamecontroller.c.o
  [ 64%] Building C object CMakeFiles/SDL2.dir/src/joystick/SDL_joystick.c.o
  [ 64%] Building C object CMakeFiles/SDL2.dir/src/audio/dummy/SDL_dummyaudio.c.o
  [ 65%] Building C object CMakeFiles/SDL2.dir/src/audio/disk/SDL_diskaudio.c.o
  [ 65%] Building C object CMakeFiles/SDL2.dir/src/loadso/dlopen/SDL_sysloadso.c.o
  [ 66%] Building C object CMakeFiles/SDL2.dir/src/joystick/virtual/SDL_virtualjoystick.c.o
  [ 66%] Building C object CMakeFiles/SDL2.dir/src/video/dummy/SDL_nullevents.c.o
  [ 67%] Building C object CMakeFiles/SDL2.dir/src/video/dummy/SDL_nullframebuffer.c.o
  [ 67%] Building C object CMakeFiles/SDL2.dir/src/video/dummy/SDL_nullvideo.c.o
  [ 68%] Building C object CMakeFiles/SDL2.dir/src/audio/dsp/SDL_dspaudio.c.o
  [ 68%] Building C object CMakeFiles/SDL2.dir/src/audio/alsa/SDL_alsa_audio.c.o
  [ 69%] Building C object CMakeFiles/SDL2.dir/src/audio/jack/SDL_jackaudio.c.o
  [ 69%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11clipboard.c.o
  [ 70%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11dyn.c.o
  [ 70%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11events.c.o
  [ 71%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11framebuffer.c.o
  [ 71%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11keyboard.c.o
  [ 72%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11messagebox.c.o
  [ 72%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11modes.c.o
  [ 73%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11mouse.c.o
  [ 73%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11opengl.c.o
  [ 74%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11opengles.c.o
  [ 74%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11shape.c.o
  [ 75%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11touch.c.o
  [ 75%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11video.c.o
  [ 76%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11vulkan.c.o
  [ 76%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11window.c.o
  [ 77%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11xinput2.c.o
  [ 77%] Building C object CMakeFiles/SDL2.dir/src/video/x11/edid-parse.c.o
  [ 78%] Building C object CMakeFiles/SDL2.dir/src/video/x11/imKStoUCS.c.o
  [ 78%] Building C object CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylandclipboard.c.o
  [ 79%] Building C object CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylanddatamanager.c.o
  [ 79%] Building C object CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylanddyn.c.o
  [ 80%] Building C object CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylandevents.c.o
  [ 80%] Building C object CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylandkeyboard.c.o
  [ 81%] Building C object CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylandmessagebox.c.o
  [ 81%] Building C object CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylandmouse.c.o
  [ 82%] Building C object CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylandopengles.c.o
  [ 82%] Building C object CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylandtouch.c.o
  [ 83%] Building C object CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylandvideo.c.o
  [ 83%] Building C object CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylandvulkan.c.o
  [ 84%] Building C object CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylandwindow.c.o
  [ 84%] Building C object CMakeFiles/SDL2.dir/wayland-generated-protocols/idle-inhibit-unstable-v1-protocol.c.o
  [ 85%] Building C object CMakeFiles/SDL2.dir/wayland-generated-protocols/keyboard-shortcuts-inhibit-unstable-v1-protocol.c.o
  [ 85%] Building C object CMakeFiles/SDL2.dir/wayland-generated-protocols/pointer-constraints-unstable-v1-protocol.c.o
  [ 86%] Building C object CMakeFiles/SDL2.dir/wayland-generated-protocols/relative-pointer-unstable-v1-protocol.c.o
  [ 87%] Building C object CMakeFiles/SDL2.dir/wayland-generated-protocols/wayland-protocol.c.o
  [ 87%] Building C object CMakeFiles/SDL2.dir/wayland-generated-protocols/text-input-unstable-v3-protocol.c.o
  [ 87%] Building C object CMakeFiles/SDL2.dir/wayland-generated-protocols/xdg-activation-v1-protocol.c.o
  [ 88%] Building C object CMakeFiles/SDL2.dir/wayland-generated-protocols/xdg-decoration-unstable-v1-protocol.c.o
  [ 88%] Building C object CMakeFiles/SDL2.dir/wayland-generated-protocols/xdg-shell-protocol.c.o
  [ 89%] Building C object CMakeFiles/SDL2.dir/src/core/unix/SDL_poll.c.o
  [ 89%] Building C object CMakeFiles/SDL2.dir/src/haptic/linux/SDL_syshaptic.c.o
  [ 90%] Building C object CMakeFiles/SDL2.dir/src/core/linux/SDL_dbus.c.o
  [ 90%] Building C object CMakeFiles/SDL2.dir/src/core/linux/SDL_ime.c.o
  [ 91%] Building C object CMakeFiles/SDL2.dir/src/core/linux/SDL_fcitx.c.o
  [ 91%] Building C object CMakeFiles/SDL2.dir/src/core/linux/SDL_evdev.c.o
  [ 92%] Building C object CMakeFiles/SDL2.dir/src/core/linux/SDL_evdev_kbd.c.o
  [ 92%] Building C object CMakeFiles/SDL2.dir/src/core/linux/SDL_evdev_capabilities.c.o
  [ 93%] Building C object CMakeFiles/SDL2.dir/src/core/linux/SDL_threadprio.c.o
  [ 93%] Building C object CMakeFiles/SDL2.dir/src/joystick/linux/SDL_sysjoystick.c.o
  [ 94%] Building C object CMakeFiles/SDL2.dir/src/joystick/steam/SDL_steamcontroller.c.o
  [ 94%] Building C object CMakeFiles/SDL2.dir/src/thread/pthread/SDL_systhread.c.o
  [ 95%] Building C object CMakeFiles/SDL2.dir/src/thread/pthread/SDL_sysmutex.c.o
  [ 95%] Building C object CMakeFiles/SDL2.dir/src/thread/pthread/SDL_syscond.c.o
  [ 96%] Building C object CMakeFiles/SDL2.dir/src/thread/pthread/SDL_systls.c.o
  [ 96%] Building C object CMakeFiles/SDL2.dir/src/thread/pthread/SDL_syssem.c.o
  [ 97%] Building C object CMakeFiles/SDL2.dir/src/misc/unix/SDL_sysurl.c.o
  [ 97%] Building C object CMakeFiles/SDL2.dir/src/power/linux/SDL_syspower.c.o
  [ 98%] Building C object CMakeFiles/SDL2.dir/src/locale/unix/SDL_syslocale.c.o
  [ 98%] Building C object CMakeFiles/SDL2.dir/src/filesystem/unix/SDL_sysfilesystem.c.o
  [ 99%] Building C object CMakeFiles/SDL2.dir/src/timer/unix/SDL_systimer.c.o
  [ 99%] Building C object CMakeFiles/SDL2.dir/src/sensor/dummy/SDL_dummysensor.c.o
  [100%] Linking C shared library libSDL2-2.0.so
  [100%] Built target SDL2
  Install the project...
  -- Install configuration: "release"
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/lib64/libSDL2-2.0.so.0.16.0
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/lib64/libSDL2-2.0.so.0
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/lib64/libSDL2-2.0.so
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/lib64/libSDL2main.a
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/lib64/cmake/SDL2/SDL2Targets.cmake
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/lib64/cmake/SDL2/SDL2Targets-release.cmake
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/lib64/cmake/SDL2/SDL2Config.cmake
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/lib64/cmake/SDL2/SDL2ConfigVersion.cmake
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_assert.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_atomic.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_audio.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_bits.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_blendmode.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_clipboard.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_config_android.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_config_iphoneos.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_config_macosx.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_config_minimal.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_config_os2.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_config_pandora.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_config_psp.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_config_windows.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_config_winrt.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_config_wiz.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_copying.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_cpuinfo.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_egl.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_endian.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_error.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_events.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_filesystem.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_gamecontroller.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_gesture.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_haptic.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_hints.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_joystick.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_keyboard.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_keycode.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_loadso.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_locale.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_log.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_main.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_messagebox.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_metal.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_misc.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_mouse.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_mutex.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_name.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_opengl.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_opengl_glext.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_opengles.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_opengles2.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_opengles2_gl2.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_opengles2_gl2ext.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_opengles2_gl2platform.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_opengles2_khrplatform.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_pixels.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_platform.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_power.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_quit.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_rect.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_render.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_rwops.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_scancode.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_sensor.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_shape.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_stdinc.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_surface.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_system.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_syswm.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_test.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_test_assert.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_test_common.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_test_compare.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_test_crc32.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_test_font.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_test_fuzzer.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_test_harness.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_test_images.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_test_log.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_test_md5.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_test_memory.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_test_random.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_thread.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_timer.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_touch.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_types.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_version.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_video.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_vulkan.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/begin_code.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/close_code.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_config.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/include/SDL2/SDL_revision.h
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/lib64/libSDL2.so
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/lib64/pkgconfig/sdl2.pc
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/bin/sdl2-config
  -- Installing: /home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/share/aclocal/sdl2.m4
  cargo:root=/home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out
  cargo:rustc-link-search=/home/qs/icepiano-r/target/release/build/sdl2-sys-5ce0d1084811ff98/out/lib
  cargo:include=/home/qs/.cargo/git/checkouts/rust-sdl2-f20db51beeece243/fe411c6/sdl2-sys/SDL/include
  cargo:rustc-flags=-l SDL2
  cargo:rustc-flags=-l SDL2_mixer
  cargo:rustc-flags=-l SDL2_image

  --- stderr
  CMake Warning:
    Manually-specified variables were not used by the project:

      CMAKE_ASM_COMPILER
      CMAKE_ASM_FLAGS

  gmake: warning: -j16 forced in submake: resetting jobserver mode.
  thread 'main' panicked at 'Couldn't readdir lib: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /home/qs/.cargo/git/checkouts/rust-sdl2-f20db51beeece243/fe411c6/sdl2-sys/build.rs:425:51
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
waych commented 2 years ago

FYI, image, tff, gfx and mixer are not supported yet when using bundled.

Consider using use-vcpkg or use-pkgconfig instead of bundled.

IceGuye commented 2 years ago

FYI, image, tff, gfx and mixer are not supported yet when using bundled.

Consider using use-vcpkg or use-pkgconfig instead of bundled.

Thank you for your information waych. I think I can close this issue for now.