MartinHelmut / cpp-gui-template-sdl2

C++ GUI starter project template with CMake and Cpack, Dear ImGui, and SDL2.
MIT License
71 stars 7 forks source link

Does not compile on Windows? #1

Closed andgeno closed 1 year ago

andgeno commented 1 year ago

Hi, does this compile for you on Windows? I've tried CLion's built-in toolchains (VS, MinGW, Cygwin), external installations of LLVM and cmake under MSYS2 environment. I get either build errors or crashes (clang-tidy) depending on which combination I try. I'd really love to get this working on Windows. Any help would be much appreciated.

MartinHelmut commented 1 year ago

Hey, good call! I will give it a spin later on Windows and fix/add what is needed to have it running proper. I will update this issue (and repo) when I did so โœŒ๐Ÿป

MartinHelmut commented 1 year ago

I had a first look and at least came a bit further, for both MinGW and VS. I changed the CMake file for the static analyzers to this:

# cmake/StaticAnalyzers.cmake

if (NOT CMAKE_BUILD_TYPE STREQUAL "Release")
  find_program(CLANGTIDY clang-tidy)
  if (CLANGTIDY)
    message(STATUS "Using clang-tidy")
    set(CMAKE_CXX_CLANG_TIDY ${CLANGTIDY})
  else ()
    message(WARNING "clang-tidy requested but executable not found")
  endif ()
endif ()

I made clang only a warning and removed the address sanitizer. The address sanitizer just does not seem to be supported in either MinGW nor VS. Clang-tidy I could not get to run, yet. As Iยดm not as proficient with Windows this will take me a bit longer ๐Ÿ˜…

Though, even with those changes I did not got it to compile, having errors on the SDL2 part.

I will dig deeper into this and continue to update this issue. This is a nice exercise getting my feet wet with Windows, and Iยดm sure I can resolve this ๐Ÿคž

andgeno commented 1 year ago

Awesome! Thank you so much for working on this. If you need someone to test just hit me up. ๐Ÿ˜€

MartinHelmut commented 1 year ago

Sorry to keep you waiting, but time is always sparse ๐Ÿ˜… Nevertheless, I have a PR I will update to fix running the application on Windows: https://github.com/MartinHelmut/cpp-gui-template-sdl2/pull/2

I already made some changes but I will need to work on this more, I was able to build, but not to run the application so far. If you want to you can give the PR a shot and write what fails on your end ๐Ÿซฃ๐Ÿ˜…

andgeno commented 1 year ago

Hi Martin,

No worries. It's always a struggle to find enough time for all my projects as well. ๐Ÿ˜

I gave your fix branch in #2 a shot. cmake worked fined so far but compiling fails for me.

This is my environment:

$ uname -a
MSYS_NT-10.0-19045 indigo 3.3.5-341.x86_64 2022-07-04 21:33 UTC x86_64 Msys
$ cmake --version
cmake version 3.24.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).
$ ninja --version
1.11.1
$ clang --version
clang version 14.0.6
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: C:/msys64/mingw64/bin
$ clang-tidy.exe --version
LLVM (http://llvm.org/):
  LLVM version 14.0.6
  Optimized build.
  Default target: x86_64-w64-windows-gnu
  Host CPU: znver1

Here are the logs for when I ran cmake and ninja:

$ cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -B build/debug
-- The CXX compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Ccache not found
-- Treat compiler warnings as errors
-- Fetching Doctest ...
-- Fetching fmt ...
-- Module support is disabled.
-- Version: 9.1.0
-- Build type: Debug
-- CXX_STANDARD: 20
-- Performing Test has_std_20_flag
-- Performing Test has_std_20_flag - Success
-- Performing Test has_std_2a_flag
-- Performing Test has_std_2a_flag - Success
-- Required features: cxx_variadic_templates
-- Fetching imgui ...
-- Fetching SDL ...
-- The C compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: C:/msys64/mingw64/bin/pkg-config.exe (found version "1.8.0") 
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- 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 float.h
-- Looking for float.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
-- Looking for M_PI
-- Looking for M_PI - found
-- Performing Test HAVE_MPROTECT
-- Performing Test HAVE_MPROTECT - Failed
-- 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 - not found
-- Looking for putenv
-- Looking for putenv - found
-- Looking for unsetenv
-- Looking for unsetenv - not found
-- Looking for bsearch
-- Looking for bsearch - found
-- Looking for qsort
-- Looking for qsort - found
-- Looking for abs
-- Looking for abs - found
-- Looking for bcopy
-- Looking for bcopy - not 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 - found
-- Looking for _strupr
-- Looking for _strupr - found
-- Looking for _strlwr
-- Looking for _strlwr - found
-- Looking for index
-- Looking for index - not found
-- Looking for rindex
-- Looking for rindex - not 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 - found
-- Looking for _ltoa
-- Looking for _ltoa - found
-- Looking for _uitoa
-- Looking for _uitoa - not found
-- Looking for _ultoa
-- Looking for _ultoa - found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for strtoul
-- Looking for strtoul - found
-- Looking for _i64toa
-- Looking for _i64toa - found
-- Looking for _ui64toa
-- Looking for _ui64toa - 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 - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for _strnicmp
-- Looking for _strnicmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for wcscmp
-- Looking for wcscmp - found
-- Looking for _wcsdup
-- Looking for _wcsdup - 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 - not found
-- Looking for _wcsicmp
-- Looking for _wcsicmp - found
-- Looking for wcsncasecmp
-- Looking for wcsncasecmp - not found
-- Looking for _wcsnicmp
-- Looking for _wcsnicmp - 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 - found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for fseeko64
-- Looking for fseeko64 - found
-- Looking for _Exit
-- Looking for _Exit - found
-- Looking for sigaction
-- Looking for sigaction - not found
-- Looking for setjmp
-- Looking for setjmp - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for sysconf
-- Looking for sysconf - not found
-- Looking for sysctlbyname
-- Looking for sysctlbyname - not found
-- Looking for getauxval
-- Looking for getauxval - not found
-- Looking for elf_aux_info
-- Looking for elf_aux_info - not found
-- Looking for poll
-- Looking for poll - not 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 - not found
-- Looking for alloca.h
-- Looking for alloca.h - not found
-- Looking for alloca
-- Looking for alloca - not found
-- Looking for alloca
-- Looking for alloca - found
-- Looking for alloca
-- Looking for alloca - found
-- Performing Test HAVE_SA_SIGACTION
-- Performing Test HAVE_SA_SIGACTION - Failed
-- Performing Test HAVE_WIN32_CC
-- Performing Test HAVE_WIN32_CC - Success
-- Looking for d3d9.h
-- Looking for d3d9.h - found
-- Looking for d3d11_1.h
-- Looking for d3d11_1.h - found
-- Performing Test HAVE_D3D12_H
-- Performing Test HAVE_D3D12_H - Success
-- Looking for ddraw.h
-- Looking for ddraw.h - found
-- Looking for dsound.h
-- Looking for dsound.h - found
-- Looking for dinput.h
-- Looking for dinput.h - found
-- Looking for dxgi.h
-- Looking for dxgi.h - found
-- Performing Test HAVE_XINPUT_H
-- Performing Test HAVE_XINPUT_H - Success
-- Performing Test HAVE_XINPUT_GAMEPAD_EX
-- Performing Test HAVE_XINPUT_GAMEPAD_EX - Failed
-- Performing Test HAVE_XINPUT_STATE_EX
-- Performing Test HAVE_XINPUT_STATE_EX - Failed
-- Performing Test HAVE_WINDOWS_GAMING_INPUT_H
-- Performing Test HAVE_WINDOWS_GAMING_INPUT_H - Success
-- Looking for tpcshrd.h
-- Looking for tpcshrd.h - found
-- Looking for roapi.h
-- Looking for roapi.h - found
-- Looking for mmdeviceapi.h
-- Looking for mmdeviceapi.h - found
-- Looking for audioclient.h
-- Looking for audioclient.h - found
-- Looking for sensorsapi.h
-- Looking for sensorsapi.h - found
-- Looking for shellscalingapi.h
-- Looking for shellscalingapi.h - found
-- Found Git: C:/msys64/usr/bin/git.exe (found version "2.37.2") 
-- 
-- SDL2 was configured with the following options:
-- 
-- Platform: Windows-10.0.19045
-- 64-bit:   TRUE
-- Compiler: C:/msys64/mingw64/bin/cc.exe
-- Revision: https://github.com/MartinHelmut/cpp-gui-template-sdl2.git@780652d703bab3a5e36390efd693c114aee77103
-- 
-- Subsystems:
--   Atomic:    ON
--   Audio: ON
--   Video: ON
--   Render:    ON
--   Events:    ON
--   Joystick:  ON
--   Haptic:    ON
--   Hidapi:    ON
--   Power: ON
--   Threads:   ON
--   Timers:    ON
--   File:  ON
--   Loadso:    ON
--   CPUinfo:   ON
--   Filesystem:    ON
--   Sensor:    ON
--   Locale:    ON
--   Misc:  ON
-- 
-- Options:
--   SDL2_DISABLE_INSTALL        (Wanted: ON): OFF
--   SDL2_DISABLE_SDL2MAIN       (Wanted: OFF): OFF
--   SDL2_DISABLE_UNINSTALL      (Wanted: OFF): OFF
--   SDL_3DNOW                   (Wanted: ON): ON
--   SDL_ALSA                    (Wanted: OFF): OFF
--   SDL_ALSA_SHARED             (Wanted: OFF): OFF
--   SDL_ALTIVEC                 (Wanted: ON): OFF
--   SDL_ARMNEON                 (Wanted: OFF): OFF
--   SDL_ARMSIMD                 (Wanted: OFF): OFF
--   SDL_ARTS                    (Wanted: OFF): OFF
--   SDL_ARTS_SHARED             (Wanted: OFF): OFF
--   SDL_ASAN                    (Wanted: OFF): OFF
--   SDL_ASSEMBLY                (Wanted: ON): ON
--   SDL_ASSERTIONS              (Wanted: auto): auto
--   SDL_BACKGROUNDING_SIGNAL    (Wanted: OFF): OFF
--   SDL_CLOCK_GETTIME           (Wanted: OFF): OFF
--   SDL_COCOA                   (Wanted: OFF): OFF
--   SDL_DIRECTFB                (Wanted: OFF): OFF
--   SDL_DIRECTFB_SHARED         (Wanted: OFF): OFF
--   SDL_DIRECTX                 (Wanted: ON): ON
--   SDL_DISKAUDIO               (Wanted: ON): ON
--   SDL_DUMMYAUDIO              (Wanted: ON): ON
--   SDL_DUMMYVIDEO              (Wanted: ON): ON
--   SDL_ESD                     (Wanted: OFF): OFF
--   SDL_ESD_SHARED              (Wanted: OFF): OFF
--   SDL_FOREGROUNDING_SIGNAL    (Wanted: OFF): OFF
--   SDL_FUSIONSOUND             (Wanted: OFF): OFF
--   SDL_FUSIONSOUND_SHARED      (Wanted: OFF): OFF
--   SDL_GCC_ATOMICS             (Wanted: ON): ON
--   SDL_HIDAPI                  (Wanted: ON): ON
--   SDL_HIDAPI_JOYSTICK         (Wanted: ON): ON
--   SDL_HIDAPI_LIBUSB           (Wanted: OFF): OFF
--   SDL_INSTALL_TESTS           (Wanted: OFF): OFF
--   SDL_JACK                    (Wanted: OFF): OFF
--   SDL_JACK_SHARED             (Wanted: OFF): OFF
--   SDL_KMSDRM                  (Wanted: OFF): OFF
--   SDL_KMSDRM_SHARED           (Wanted: OFF): OFF
--   SDL_LIBC                    (Wanted: ON): ON
--   SDL_LIBSAMPLERATE           (Wanted: OFF): OFF
--   SDL_LIBSAMPLERATE_SHARED    (Wanted: OFF): OFF
--   SDL_METAL                   (Wanted: OFF): OFF
--   SDL_MMX                     (Wanted: ON): ON
--   SDL_NAS                     (Wanted: OFF): OFF
--   SDL_NAS_SHARED              (Wanted: OFF): OFF
--   SDL_OFFSCREEN               (Wanted: OFF): OFF
--   SDL_OPENGL                  (Wanted: ON): ON
--   SDL_OPENGLES                (Wanted: ON): ON
--   SDL_OSS                     (Wanted: OFF): OFF
--   SDL_PIPEWIRE                (Wanted: OFF): OFF
--   SDL_PIPEWIRE_SHARED         (Wanted: OFF): OFF
--   SDL_PTHREADS                (Wanted: OFF): OFF
--   SDL_PTHREADS_SEM            (Wanted: OFF): OFF
--   SDL_PULSEAUDIO              (Wanted: OFF): OFF
--   SDL_PULSEAUDIO_SHARED       (Wanted: OFF): OFF
--   SDL_RENDER_D3D              (Wanted: ON): ON
--   SDL_RENDER_METAL            (Wanted: OFF): OFF
--   SDL_RPATH                   (Wanted: OFF): OFF
--   SDL_RPI                     (Wanted: OFF): OFF
--   SDL_SNDIO                   (Wanted: OFF): OFF
--   SDL_SNDIO_SHARED            (Wanted: OFF): OFF
--   SDL_SSE                     (Wanted: ON): ON
--   SDL_SSE2                    (Wanted: ON): ON
--   SDL_SSE3                    (Wanted: ON): ON
--   SDL_SSEMATH                 (Wanted: ON): ON
--   SDL_STATIC_PIC              (Wanted: OFF): OFF
--   SDL_TESTS                   (Wanted: OFF): OFF
--   SDL_VIRTUAL_JOYSTICK        (Wanted: ON): ON
--   SDL_VIVANTE                 (Wanted: OFF): OFF
--   SDL_VULKAN                  (Wanted: ON): ON
--   SDL_WASAPI                  (Wanted: ON): ON
--   SDL_WAYLAND                 (Wanted: OFF): OFF
--   SDL_WAYLAND_LIBDECOR        (Wanted: OFF): OFF
--   SDL_WAYLAND_LIBDECOR_SHARED (Wanted: OFF): OFF
--   SDL_WAYLAND_QT_TOUCH        (Wanted: OFF): OFF
--   SDL_WAYLAND_SHARED          (Wanted: OFF): OFF
--   SDL_X11                     (Wanted: OFF): OFF
--   SDL_X11_SHARED              (Wanted: OFF): OFF
--   SDL_X11_XCURSOR             (Wanted: OFF): OFF
--   SDL_X11_XDBE                (Wanted: OFF): OFF
--   SDL_X11_XFIXES              (Wanted: OFF): OFF
--   SDL_X11_XINPUT              (Wanted: OFF): OFF
--   SDL_X11_XRANDR              (Wanted: OFF): OFF
--   SDL_X11_XSCRNSAVER          (Wanted: OFF): OFF
--   SDL_X11_XSHAPE              (Wanted: OFF): OFF
--   SDL_XINPUT                  (Wanted: ON): ON
-- 
--  CMAKE_C_FLAGS_DEBUG:   -g
--  CMAKE_CXX_FLAGS_DEBUG: -g
-- 
--  CFLAGS:         -idirafter "D:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/sdl2-src/src/video/khronos"
--  EXTRA_CFLAGS:   -Wall -fno-strict-aliasing -Werror=declaration-after-statement -Wdeclaration-after-statement -fvisibility=hidden -Wshadow -fdiagnostics-color=always -mmmx -m3dnow -msse -msse2 -msse3
--  EXTRA_LDFLAGS:  -Wl,--no-undefined
--  EXTRA_LIBS:    m;user32;gdi32;winmm;imm32;ole32;oleaut32;version;uuid;advapi32;setupapi;shell32;dinput8
-- 
--  Build Shared Library: ON
--  Build Static Library: ON
--  Build Static Library with Position Independent Code: OFF
-- 
-- Fetching spdlog ...
-- Build spdlog: 1.11.0
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Build type: Debug
-- Using clang-tidy
-- Using clang-tidy
-- Configuring done
-- Generating done
-- Build files have been written to: D:/dev/tmp/cpp-gui-template-sdl2/build/debug
$ ninja -C build/debug
ninja: Entering directory `build/debug'
[1/489] Generating include/SDL.h
[2/489] Generating include/SDL_assert.h
[3/489] Generating include/SDL_atomic.h
[4/489] Generating include/SDL_audio.h
[5/489] Generating include/SDL_bits.h
[6/489] Generating include/SDL_blendmode.h
[7/489] Generating include/SDL_clipboard.h
[8/489] Generating include/SDL_copying.h
[9/489] Generating include/SDL_cpuinfo.h
[10/489] Generating include/SDL_egl.h
[11/489] Generating include/SDL_endian.h
[12/489] Generating include/SDL_error.h
[13/489] Generating include/SDL_events.h
[14/489] Generating include/SDL_filesystem.h
[15/489] Generating include/SDL_gamecontroller.h
[16/489] Generating include/SDL_gesture.h
[17/489] Generating include/SDL_guid.h
[18/489] Generating include/SDL_haptic.h
[19/489] Generating include/SDL_hidapi.h
[20/489] Generating include/SDL_hints.h
[21/489] Generating include/SDL_joystick.h
[22/489] Generating include/SDL_keyboard.h
[23/489] Generating include/SDL_keycode.h
[24/489] Generating include/SDL_loadso.h
[25/489] Generating include/SDL_locale.h
[26/489] Generating include/SDL_log.h
[27/489] Generating include/SDL_main.h
[28/489] Generating include/SDL_messagebox.h
[29/489] Generating include/SDL_metal.h
[30/489] Generating include/SDL_misc.h
[31/489] Generating include/SDL_mouse.h
[32/489] Generating include/SDL_mutex.h
[33/489] Generating include/SDL_name.h
[34/489] Generating include/SDL_opengl.h
[35/489] Generating include/SDL_opengl_glext.h
[36/489] Generating include/SDL_opengles.h
[37/489] Generating include/SDL_opengles2.h
[38/489] Generating include/SDL_opengles2_gl2.h
[39/489] Generating include/SDL_opengles2_gl2ext.h
[40/489] Generating include/SDL_opengles2_gl2platform.h
[41/489] Generating include/SDL_opengles2_khrplatform.h
[42/489] Generating include/SDL_pixels.h
[43/489] Generating include/SDL_platform.h
[44/489] Generating include/SDL_power.h
[45/489] Generating include/SDL_quit.h
[46/489] Generating include/SDL_rect.h
[47/489] Generating include/SDL_render.h
[48/489] Generating include/SDL_rwops.h
[49/489] Generating include/SDL_scancode.h
[50/489] Generating include/SDL_sensor.h
[51/489] Generating include/SDL_shape.h
[52/489] Generating include/SDL_stdinc.h
[53/489] Generating include/SDL_surface.h
[54/489] Generating include/SDL_system.h
[55/489] Generating include/SDL_syswm.h
[56/489] Generating include/SDL_test.h
[57/489] Generating include/SDL_test_assert.h
[58/489] Generating include/SDL_test_common.h
[59/489] Generating include/SDL_test_compare.h
[60/489] Generating include/SDL_test_crc32.h
[61/489] Generating include/SDL_test_font.h
[62/489] Generating include/SDL_test_fuzzer.h
[63/489] Generating include/SDL_test_harness.h
[64/489] Generating include/SDL_test_images.h
[65/489] Generating include/SDL_test_log.h
[66/489] Generating include/SDL_test_md5.h
[67/489] Generating include/SDL_test_memory.h
[68/489] Generating include/SDL_test_random.h
[69/489] Generating include/SDL_thread.h
[70/489] Generating include/SDL_timer.h
[71/489] Generating include/SDL_touch.h
[72/489] Generating include/SDL_types.h
[73/489] Generating include/SDL_version.h
[74/489] Generating include/SDL_video.h
[75/489] Generating include/SDL_vulkan.h
[76/489] Generating include/begin_code.h
[77/489] Generating include/close_code.h
[78/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/SDL_error.c.obj
[79/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/SDL_guid.c.obj
[80/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/SDL_hints.c.obj
[81/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/SDL_utils.c.obj
[82/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/atomic/SDL_atomic.c.obj
[83/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/audio/SDL_audiodev.c.obj
[84/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2main.dir/src/main/windows/SDL_windows_main.c.obj
[85/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/SDL_dataqueue.c.obj
[86/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/SDL_list.c.obj
[87/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/SDL.c.obj
[88/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/SDL_assert.c.obj
[89/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/audio/SDL_wave.c.obj
[90/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/SDL_log.c.obj
[91/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/atomic/SDL_spinlock.c.obj
[92/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/audio/SDL_mixer.c.obj
[93/489] Linking C static library _deps\sdl2-build\libSDL2maind.a
[94/489] Building CXX object vendor/imgui/CMakeFiles/imgui.dir/__/__/_deps/imgui-src/backends/imgui_impl_sdlrenderer.cpp.obj
[95/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/audio/SDL_audiotypecvt.c.obj
[96/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/events/imKStoUCS.c.obj
[97/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/events/SDL_clipboardevents.c.obj
[98/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/cpuinfo/SDL_cpuinfo.c.obj
[99/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/events/SDL_displayevents.c.obj
[100/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/events/SDL_dropevents.c.obj
[101/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/audio/SDL_audio.c.obj
[102/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/haptic/SDL_haptic.c.obj
[103/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/controller_type.c.obj
[104/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/e_atan2.c.obj
[105/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/e_exp.c.obj
[106/489] Building CXX object vendor/imgui/CMakeFiles/imgui.dir/__/__/_deps/imgui-src/backends/imgui_impl_sdl.cpp.obj
[107/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/e_log.c.obj
[108/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/e_fmod.c.obj
[109/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/events/SDL_gesture.c.obj
[110/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/e_log10.c.obj
[111/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/events/SDL_quit.c.obj
[112/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/e_pow.c.obj
[113/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/events/SDL_keyboard.c.obj
[114/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/e_rem_pio2.c.obj
[115/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/events/SDL_events.c.obj
[116/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/events/SDL_touch.c.obj
[117/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/s_atan.c.obj
[118/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/events/SDL_mouse.c.obj
[119/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/e_sqrt.c.obj
[120/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/k_cos.c.obj
[121/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/events/SDL_windowevents.c.obj
[122/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/s_copysign.c.obj
[123/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/audio/SDL_audiocvt.c.obj
[124/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/s_cos.c.obj
[125/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/s_fabs.c.obj
[126/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/k_sin.c.obj
[127/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/k_rem_pio2.c.obj
[128/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/s_floor.c.obj
[129/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/file/SDL_rwops.c.obj
[130/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/k_tan.c.obj
[131/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/s_scalbn.c.obj
[132/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/s_sin.c.obj
[133/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/libm/s_tan.c.obj
[134/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/locale/SDL_locale.c.obj
[135/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/misc/SDL_url.c.obj
[136/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/power/SDL_power.c.obj
[137/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/SDL_d3dmath.c.obj
[138/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/hidapi/SDL_hidapi.c.obj
[139/489] Building CXX object _deps/spdlog-build/CMakeFiles/spdlog.dir/src/cfg.cpp.obj
[140/489] Building CXX object _deps/fmt-build/CMakeFiles/fmt.dir/src/format.cc.obj
[141/489] Building CXX object vendor/imgui/CMakeFiles/imgui.dir/__/__/_deps/imgui-src/imgui_demo.cpp.obj
[142/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/SDL_gamecontroller.c.obj
[143/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/opengles/SDL_render_gles.c.obj
[144/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/SDL_joystick.c.obj
[145/489] Building CXX object vendor/imgui/CMakeFiles/imgui.dir/__/__/_deps/imgui-src/imgui_tables.cpp.obj
[146/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/opengles2/SDL_shaders_gles2.c.obj
[147/489] Building CXX object _deps/spdlog-build/CMakeFiles/spdlog.dir/src/file_sinks.cpp.obj
[148/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/ps2/SDL_render_ps2.c.obj
[149/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/psp/SDL_render_psp.c.obj
[150/489] Building CXX object _deps/fmt-build/CMakeFiles/fmt.dir/src/os.cc.obj
[151/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/vitagxm/SDL_render_vita_gxm.c.obj
[152/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/vitagxm/SDL_render_vita_gxm_memory.c.obj
[153/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/vitagxm/SDL_render_vita_gxm_tools.c.obj
[154/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/SDL_yuv_sw.c.obj
[155/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/stdlib/SDL_crc16.c.obj
[156/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/stdlib/SDL_crc32.c.obj
[157/489] Building CXX object _deps/spdlog-build/CMakeFiles/spdlog.dir/src/async.cpp.obj
[158/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/stdlib/SDL_malloc.c.obj
[159/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/stdlib/SDL_mslibc.c.obj
[160/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/stdlib/SDL_qsort.c.obj
[161/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/opengl/SDL_shaders_gl.c.obj
[162/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/software/SDL_drawpoint.c.obj
[163/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/direct3d/SDL_shaders_d3d.c.obj
[164/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/software/SDL_blendpoint.c.obj
[165/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/stdlib/SDL_strtokr.c.obj
[166/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/software/SDL_drawline.c.obj
[167/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/stdlib/SDL_iconv.c.obj
[168/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/stdlib/SDL_stdlib.c.obj
[169/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/software/SDL_blendfillrect.c.obj
[170/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/software/SDL_render_sw.c.obj
[171/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/software/SDL_triangle.c.obj
[172/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/opengles2/SDL_render_gles2.c.obj
[173/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/software/SDL_rotate.c.obj
[174/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/stdlib/SDL_string.c.obj
[175/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/direct3d12/SDL_shaders_d3d12.c.obj
[176/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/opengl/SDL_render_gl.c.obj
[177/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/stdlib/SDL_getenv.c.obj
[178/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/SDL_render.c.obj
[179/489] Linking CXX static library _deps\fmt-build\libfmtd.a
[180/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/direct3d/SDL_render_d3d.c.obj
[181/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/sensor/SDL_sensor.c.obj
[182/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/direct3d11/SDL_shaders_d3d11.c.obj
[183/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/software/SDL_blendline.c.obj
[184/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/thread/SDL_thread.c.obj
[185/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/timer/SDL_timer.c.obj
[186/489] Building CXX object vendor/imgui/CMakeFiles/imgui.dir/__/__/_deps/imgui-src/imgui_draw.cpp.obj
[187/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_rect.c.obj
[188/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_blit_0.c.obj
[189/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/direct3d12/SDL_render_d3d12.c.obj
[190/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_blit_copy.c.obj
[191/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/dynapi/SDL_dynapi.c.obj
[192/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/render/direct3d11/SDL_render_d3d11.c.obj
[193/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_blit.c.obj
[194/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/audio/dummy/SDL_dummyaudio.c.obj
[195/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_blit_slow.c.obj
[196/489] Building CXX object _deps/spdlog-build/CMakeFiles/spdlog.dir/src/stdout_sinks.cpp.obj
[197/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/audio/disk/SDL_diskaudio.c.obj
[198/489] Building CXX object _deps/spdlog-build/CMakeFiles/spdlog.dir/src/color_sinks.cpp.obj
[199/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_bmp.c.obj
[200/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_fillrect.c.obj
[201/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_clipboard.c.obj
[202/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/virtual/SDL_virtualjoystick.c.obj
[203/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_blit_1.c.obj
[204/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_RLEaccel.c.obj
[205/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_stretch.c.obj
[206/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_shape.c.obj
[207/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_blit_A.c.obj
[208/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_vulkan_utils.c.obj
[209/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_egl.c.obj
[210/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_pixels.c.obj
[211/489] Building CXX object vendor/imgui/CMakeFiles/imgui.dir/__/__/_deps/imgui-src/imgui_widgets.cpp.obj
[212/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/dummy/SDL_nullevents.c.obj
[213/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_surface.c.obj
[214/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_blit_N.c.obj
[215/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/dummy/SDL_nullframebuffer.c.obj
[216/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/core/windows/SDL_hid.c.obj
[217/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/dummy/SDL_nullvideo.c.obj
[218/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/core/windows/SDL_xinput.c.obj
[219/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_yuv.c.obj
[220/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/misc/windows/SDL_sysurl.c.obj
[221/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/thread/generic/SDL_syscond.c.obj
[222/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/audio/winmm/SDL_winmm.c.obj
[223/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/core/windows/SDL_windows.c.obj
[224/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/core/windows/SDL_immdevice.c.obj
[225/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_video.c.obj
[226/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/thread/windows/SDL_syscond_cv.c.obj
[227/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/windows/SDL_windowsclipboard.c.obj
[228/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/thread/windows/SDL_sysmutex.c.obj
[229/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/hidapi/SDL_hidapi_combined.c.obj
[230/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/audio/wasapi/SDL_wasapi_win32.c.obj
[231/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/thread/windows/SDL_systls.c.obj
[232/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/audio/wasapi/SDL_wasapi.c.obj
[233/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/audio/directsound/SDL_directsound.c.obj
[234/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/windows/SDL_windowsframebuffer.c.obj
[235/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/thread/windows/SDL_syssem.c.obj
[236/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/thread/windows/SDL_systhread.c.obj
[237/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/power/windows/SDL_syspower.c.obj
[238/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/hidapi/SDL_hidapi_shield.c.obj
[239/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/locale/windows/SDL_syslocale.c.obj
[240/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/windows/SDL_windowsopengles.c.obj
[241/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/windows/SDL_windowsmouse.c.obj
[242/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/hidapi/SDL_hidapi_stadia.c.obj
[243/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/timer/windows/SDL_systimer.c.obj
[244/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/hidapi/SDL_hidapi_gamecube.c.obj
[245/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/hidapi/SDL_hidapi_luna.c.obj
[246/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/loadso/windows/SDL_sysloadso.c.obj
[247/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/windows/SDL_windowsshape.c.obj
[248/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/windows/SDL_windowsevents.c.obj
[249/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/hidapi/SDL_hidapi_steam.c.obj
[250/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/windows/SDL_windowsvulkan.c.obj
[251/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/windows/SDL_windowsmodes.c.obj
[252/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/hidapi/SDL_hidapi_switch.c.obj
[253/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/hidapi/SDL_hidapi_xbox360.c.obj
[254/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/windows/SDL_windowsmessagebox.c.obj
[255/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/hidapi/SDL_hidapi_xbox360w.c.obj
[256/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/hidapi/SDL_hidapi_xboxone.c.obj
[257/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/hidapi/SDL_hidapi_ps4.c.obj
[258/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/windows/SDL_windowsopengl.c.obj
[259/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/hidapi/SDL_hidapi_ps5.c.obj
[260/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/windows/SDL_windowskeyboard.c.obj
[261/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/windows/SDL_windowsvideo.c.obj
[262/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/windows/SDL_windowswindow.c.obj
[263/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/SDL_blit_auto.c.obj
[264/489] Building RC object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/main/windows/version.rc.obj
[265/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/sensor/windows/SDL_windowssensor.c.obj
[266/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/SDL_error.c.obj
[267/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/hidapi/SDL_hidapi_rumble.c.obj
[268/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/SDL_guid.c.obj
[269/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/SDL_hints.c.obj
[270/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/SDL_utils.c.obj
[271/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/atomic/SDL_atomic.c.obj
[272/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/filesystem/windows/SDL_sysfilesystem.c.obj
[273/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/audio/SDL_audiodev.c.obj
[274/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/hidapi/SDL_hidapijoystick.c.obj
[275/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/SDL_dataqueue.c.obj
[276/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/SDL_list.c.obj
[277/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/SDL_assert.c.obj
[278/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/SDL.c.obj
[279/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/SDL_log.c.obj
[280/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/windows/SDL_dinputjoystick.c.obj
[281/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/audio/SDL_wave.c.obj
[282/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/atomic/SDL_spinlock.c.obj
[283/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/events/imKStoUCS.c.obj
[284/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/windows/SDL_windowsjoystick.c.obj
[285/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/haptic/windows/SDL_windowshaptic.c.obj
[286/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/windows/SDL_xinputjoystick.c.obj
[287/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/audio/SDL_mixer.c.obj
[288/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/controller_type.c.obj
[289/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/e_atan2.c.obj
[290/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/haptic/windows/SDL_xinputhaptic.c.obj
[291/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/e_exp.c.obj
[292/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/audio/SDL_audiotypecvt.c.obj
[293/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/haptic/windows/SDL_dinputhaptic.c.obj
[294/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/haptic/SDL_haptic.c.obj
[295/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/e_fmod.c.obj
[296/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/windows/SDL_windows_gaming_input.c.obj
[297/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/events/SDL_clipboardevents.c.obj
[298/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/e_log.c.obj
[299/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/cpuinfo/SDL_cpuinfo.c.obj
[300/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/events/SDL_displayevents.c.obj
[301/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/e_log10.c.obj
[302/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/events/SDL_dropevents.c.obj
[303/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/e_pow.c.obj
[304/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/e_rem_pio2.c.obj
[305/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/audio/SDL_audio.c.obj
[306/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/e_sqrt.c.obj
[307/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/joystick/windows/SDL_rawinputjoystick.c.obj
[308/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/k_cos.c.obj
[309/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/k_rem_pio2.c.obj
[310/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/events/SDL_gesture.c.obj
[311/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/events/SDL_quit.c.obj
[312/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/events/SDL_keyboard.c.obj
[313/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/k_sin.c.obj
[314/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/events/SDL_windowevents.c.obj
[315/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/k_tan.c.obj
[316/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/s_atan.c.obj
[317/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/s_copysign.c.obj
[318/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/events/SDL_touch.c.obj
[319/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/events/SDL_events.c.obj
[320/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/s_cos.c.obj
[321/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/events/SDL_mouse.c.obj
[322/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/s_fabs.c.obj
[323/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/file/SDL_rwops.c.obj
[324/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/s_floor.c.obj
[325/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/s_scalbn.c.obj
[326/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/audio/SDL_audiocvt.c.obj
[327/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/s_sin.c.obj
[328/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/libm/s_tan.c.obj
[329/489] Building CXX object vendor/imgui/CMakeFiles/imgui.dir/__/__/_deps/imgui-src/imgui.cpp.obj
[330/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/locale/SDL_locale.c.obj
[331/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/hidapi/SDL_hidapi.c.obj
[332/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/misc/SDL_url.c.obj
[333/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/power/SDL_power.c.obj
[334/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/SDL_d3dmath.c.obj
[335/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/SDL_yuv_sw.c.obj
[336/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/SDL_gamecontroller.c.obj
[337/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/SDL_joystick.c.obj
[338/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/opengles/SDL_render_gles.c.obj
[339/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/opengles2/SDL_shaders_gles2.c.obj
[340/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/ps2/SDL_render_ps2.c.obj
[341/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/psp/SDL_render_psp.c.obj
[342/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/vitagxm/SDL_render_vita_gxm.c.obj
[343/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/vitagxm/SDL_render_vita_gxm_memory.c.obj
[344/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/vitagxm/SDL_render_vita_gxm_tools.c.obj
[345/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/stdlib/SDL_crc16.c.obj
[346/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/stdlib/SDL_crc32.c.obj
[347/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/stdlib/SDL_iconv.c.obj
[348/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/stdlib/SDL_malloc.c.obj
[349/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/stdlib/SDL_mslibc.c.obj
[350/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/stdlib/SDL_qsort.c.obj
[351/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/stdlib/SDL_stdlib.c.obj
[352/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/opengl/SDL_shaders_gl.c.obj
[353/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/stdlib/SDL_string.c.obj
[354/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/direct3d/SDL_shaders_d3d.c.obj
[355/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/stdlib/SDL_strtokr.c.obj
[356/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/software/SDL_drawpoint.c.obj
[357/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/software/SDL_blendpoint.c.obj
[358/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/software/SDL_drawline.c.obj
[359/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/software/SDL_blendfillrect.c.obj
[360/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/opengles2/SDL_render_gles2.c.obj
[361/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/software/SDL_render_sw.c.obj
[362/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/software/SDL_triangle.c.obj
[363/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/software/SDL_rotate.c.obj
[364/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/direct3d12/SDL_shaders_d3d12.c.obj
[365/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/opengl/SDL_render_gl.c.obj
[366/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/stdlib/SDL_getenv.c.obj
[367/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/SDL_render.c.obj
[368/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/direct3d/SDL_render_d3d.c.obj
[369/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/sensor/SDL_sensor.c.obj
[370/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/direct3d11/SDL_shaders_d3d11.c.obj
[371/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/software/SDL_blendline.c.obj
[372/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/thread/SDL_thread.c.obj
[373/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/timer/SDL_timer.c.obj
[374/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_blit_0.c.obj
[375/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_rect.c.obj
[376/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_blit_copy.c.obj
[377/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/direct3d12/SDL_render_d3d12.c.obj
[378/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/audio/dummy/SDL_dummyaudio.c.obj
[379/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_blit.c.obj
[380/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_blit_slow.c.obj
[381/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/render/direct3d11/SDL_render_d3d11.c.obj
[382/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/audio/disk/SDL_diskaudio.c.obj
[383/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/dynapi/SDL_dynapi.c.obj
[384/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_bmp.c.obj
[385/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_fillrect.c.obj
[386/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_clipboard.c.obj
[387/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_blit_1.c.obj
[388/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/virtual/SDL_virtualjoystick.c.obj
[389/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_RLEaccel.c.obj
[390/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_stretch.c.obj
[391/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_shape.c.obj
[392/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_egl.c.obj
[393/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_pixels.c.obj
[394/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_blit_A.c.obj
[395/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_vulkan_utils.c.obj
[396/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/dummy/SDL_nullevents.c.obj
[397/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/dummy/SDL_nullframebuffer.c.obj
[398/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_blit_N.c.obj
[399/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_surface.c.obj
[400/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/core/windows/SDL_hid.c.obj
[401/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_yuv.c.obj
[402/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/dummy/SDL_nullvideo.c.obj
[403/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/core/windows/SDL_xinput.c.obj
[404/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/misc/windows/SDL_sysurl.c.obj
[405/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/thread/generic/SDL_syscond.c.obj
[406/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/audio/winmm/SDL_winmm.c.obj
[407/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/core/windows/SDL_windows.c.obj
[408/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2.dir/src/video/yuv2rgb/yuv_rgb.c.obj
[409/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/core/windows/SDL_immdevice.c.obj
[410/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_video.c.obj
[411/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/thread/windows/SDL_sysmutex.c.obj
[412/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/thread/windows/SDL_syscond_cv.c.obj
[413/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/windows/SDL_windowsclipboard.c.obj
[414/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/thread/windows/SDL_systls.c.obj
[415/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/audio/directsound/SDL_directsound.c.obj
[416/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/windows/SDL_windowsframebuffer.c.obj
[417/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/power/windows/SDL_syspower.c.obj
[418/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/thread/windows/SDL_syssem.c.obj
[419/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/audio/wasapi/SDL_wasapi.c.obj
[420/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/thread/windows/SDL_systhread.c.obj
[421/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/locale/windows/SDL_syslocale.c.obj
[422/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/audio/wasapi/SDL_wasapi_win32.c.obj
[423/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_combined.c.obj
[424/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_ps4.c.obj
[425/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/windows/SDL_windowsmessagebox.c.obj
[426/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/windows/SDL_windowsopengles.c.obj
[427/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/timer/windows/SDL_systimer.c.obj
[428/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/windows/SDL_windowsshape.c.obj
[429/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_ps5.c.obj
[430/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/windows/SDL_windowsmodes.c.obj
[431/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/windows/SDL_windowsmouse.c.obj
[432/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/windows/SDL_windowsvulkan.c.obj
[433/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_shield.c.obj
[434/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_stadia.c.obj
[435/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/loadso/windows/SDL_sysloadso.c.obj
[436/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_steam.c.obj
[437/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_gamecube.c.obj
[438/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/windows/SDL_windowsopengl.c.obj
[439/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_switch.c.obj
[440/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/windows/SDL_windowsevents.c.obj
[441/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/windows/SDL_windowskeyboard.c.obj
[442/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_xbox360.c.obj
[443/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_luna.c.obj
[444/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_xbox360w.c.obj
[445/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_xboxone.c.obj
[446/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/windows/SDL_windowswindow.c.obj
[447/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/windows/SDL_windowsvideo.c.obj
[448/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/SDL_blit_auto.c.obj
[449/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/sensor/windows/SDL_windowssensor.c.obj
[450/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapi_rumble.c.obj
[451/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/filesystem/windows/SDL_sysfilesystem.c.obj
[452/489] Linking C shared library _deps\sdl2-build\SDL2d.dll
[453/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2_test.dir/src/test/SDL_test_assert.c.obj
[454/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2_test.dir/src/test/SDL_test_memory.c.obj
[455/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2_test.dir/src/test/SDL_test_compare.c.obj
[456/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/hidapi/SDL_hidapijoystick.c.obj
[457/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2_test.dir/src/test/SDL_test_crc32.c.obj
[458/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2_test.dir/src/test/SDL_test_font.c.obj
[459/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2_test.dir/src/test/SDL_test_fuzzer.c.obj
[460/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2_test.dir/src/test/SDL_test_imageBlit.c.obj
[461/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2_test.dir/src/test/SDL_test_imageFace.c.obj
[462/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2_test.dir/src/test/SDL_test_harness.c.obj
[463/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2_test.dir/src/test/SDL_test_imageBlitBlend.c.obj
[464/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2_test.dir/src/test/SDL_test_imagePrimitives.c.obj
[465/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2_test.dir/src/test/SDL_test_imagePrimitivesBlend.c.obj
[466/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2_test.dir/src/test/SDL_test_log.c.obj
[467/489] Linking CXX static library vendor\imgui\libimgui.a
[468/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/windows/SDL_dinputjoystick.c.obj
[469/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2_test.dir/src/test/SDL_test_md5.c.obj
[470/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2_test.dir/src/test/SDL_test_random.c.obj
[471/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/windows/SDL_xinputjoystick.c.obj
[472/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2_test.dir/src/test/SDL_test_common.c.obj
[473/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/windows/SDL_windowsjoystick.c.obj
[474/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/haptic/windows/SDL_windowshaptic.c.obj
[475/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/haptic/windows/SDL_xinputhaptic.c.obj
[476/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/haptic/windows/SDL_dinputhaptic.c.obj
[477/489] Linking C static library _deps\sdl2-build\libSDL2_test.a
[478/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/windows/SDL_windows_gaming_input.c.obj
[479/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/joystick/windows/SDL_rawinputjoystick.c.obj
[480/489] Building C object _deps/sdl2-build/CMakeFiles/SDL2-static.dir/src/video/yuv2rgb/yuv_rgb.c.obj
[481/489] Linking C static library _deps\sdl2-build\libSDL2d.a
[482/489] Building CXX object _deps/spdlog-build/CMakeFiles/spdlog.dir/src/spdlog.cpp.obj
[483/489] Linking CXX static library _deps\spdlog-build\libspdlogd.a
[484/489] Building CXX object src/core/CMakeFiles/Core.dir/Core/Log.cpp.obj
FAILED: src/core/CMakeFiles/Core.dir/Core/Log.cpp.obj 
C:\msys64\mingw64\bin\cmake.exe -E __run_co_compile --tidy=C:/msys64/mingw64/bin/clang-tidy.exe;--extra-arg-before=--driver-mode=g++ --source=D:/dev/tmp/cpp-gui-template-sdl2/src/core/Core/Log.cpp -- C:\msys64\mingw64\bin\c++.exe -DAPP_ENABLE_ASSERTS -DAPP_PROFILE -DDEBUG -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -ID:/dev/tmp/cpp-gui-template-sdl2/src/core -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/fmt-src/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/spdlog-src/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/sdl2-build/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/sdl2-build/include-config-debug -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/imgui-src -g -Wall -Wextra -Wnon-virtual-dtor -Wcast-align -Wunused -Woverloaded-virtual -Wpedantic -Wconversion -Wsign-conversion -Wnull-dereference -Wformat=2 -Werror -Wmisleading-indentation -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Wuseless-cast -std=gnu++20 -MD -MT src/core/CMakeFiles/Core.dir/Core/Log.cpp.obj -MF src\core\CMakeFiles\Core.dir\Core\Log.cpp.obj.d -o src/core/CMakeFiles/Core.dir/Core/Log.cpp.obj -c D:/dev/tmp/cpp-gui-template-sdl2/src/core/Core/Log.cpp
error: unknown warning option '-Wduplicated-branches' [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wduplicated-cond' [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wuseless-cast' [clang-diagnostic-unknown-warning-option]
92745 warnings and 8 errors generated.

Error while processing D:/dev/tmp/cpp-gui-template-sdl2/src/core/Core/Log.cpp.

Suppressed 92745 warnings (92745 in non-user code).

Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.

Found compiler error(s).

[485/489] Building CXX object src/app/CMakeFiles/App.dir/App/Main.cpp.obj
FAILED: src/app/CMakeFiles/App.dir/App/Main.cpp.obj 
C:\msys64\mingw64\bin\cmake.exe -E __run_co_compile --tidy=C:/msys64/mingw64/bin/clang-tidy.exe;--extra-arg-before=--driver-mode=g++ --source=D:/dev/tmp/cpp-gui-template-sdl2/src/app/App/Main.cpp -- C:\msys64\mingw64\bin\c++.exe -DAPP_ENABLE_ASSERTS -DAPP_PROFILE -DDEBUG -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -ID:/dev/tmp/cpp-gui-template-sdl2/src/app -ID:/dev/tmp/cpp-gui-template-sdl2/src/core -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/fmt-src/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/spdlog-src/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/sdl2-build/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/sdl2-build/include-config-debug -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/imgui-src -g -Wall -Wextra -Wnon-virtual-dtor -Wcast-align -Wunused -Woverloaded-virtual -Wpedantic -Wconversion -Wsign-conversion -Wnull-dereference -Wformat=2 -Werror -Wmisleading-indentation -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Wuseless-cast -std=gnu++20 -MD -MT src/app/CMakeFiles/App.dir/App/Main.cpp.obj -MF src\app\CMakeFiles\App.dir\App\Main.cpp.obj.d -o src/app/CMakeFiles/App.dir/App/Main.cpp.obj -c D:/dev/tmp/cpp-gui-template-sdl2/src/app/App/Main.cpp
error: unknown warning option '-Wduplicated-branches' [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wduplicated-cond' [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wuseless-cast' [clang-diagnostic-unknown-warning-option]
147264 warnings and 8 errors generated.

Error while processing D:/dev/tmp/cpp-gui-template-sdl2/src/app/App/Main.cpp.

Suppressed 147265 warnings (147264 in non-user code, 1 NOLINT).

Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.

Found compiler error(s).

[486/489] Building CXX object src/core/CMakeFiles/Core.dir/Core/Window.cpp.obj
FAILED: src/core/CMakeFiles/Core.dir/Core/Window.cpp.obj 
C:\msys64\mingw64\bin\cmake.exe -E __run_co_compile --tidy=C:/msys64/mingw64/bin/clang-tidy.exe;--extra-arg-before=--driver-mode=g++ --source=D:/dev/tmp/cpp-gui-template-sdl2/src/core/Core/Window.cpp -- C:\msys64\mingw64\bin\c++.exe -DAPP_ENABLE_ASSERTS -DAPP_PROFILE -DDEBUG -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -ID:/dev/tmp/cpp-gui-template-sdl2/src/core -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/fmt-src/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/spdlog-src/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/sdl2-build/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/sdl2-build/include-config-debug -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/imgui-src -g -Wall -Wextra -Wnon-virtual-dtor -Wcast-align -Wunused -Woverloaded-virtual -Wpedantic -Wconversion -Wsign-conversion -Wnull-dereference -Wformat=2 -Werror -Wmisleading-indentation -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Wuseless-cast -std=gnu++20 -MD -MT src/core/CMakeFiles/Core.dir/Core/Window.cpp.obj -MF src\core\CMakeFiles\Core.dir\Core\Window.cpp.obj.d -o src/core/CMakeFiles/Core.dir/Core/Window.cpp.obj -c D:/dev/tmp/cpp-gui-template-sdl2/src/core/Core/Window.cpp
error: unknown warning option '-Wduplicated-branches' [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wduplicated-cond' [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wuseless-cast' [clang-diagnostic-unknown-warning-option]
147250 warnings and 8 errors generated.

Error while processing D:/dev/tmp/cpp-gui-template-sdl2/src/core/Core/Window.cpp.

Suppressed 147253 warnings (147250 in non-user code, 3 NOLINT).

Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.

Found compiler error(s).

[487/489] Building CXX object src/core/CMakeFiles/Core.dir/Core/Application.cpp.obj
FAILED: src/core/CMakeFiles/Core.dir/Core/Application.cpp.obj 
C:\msys64\mingw64\bin\cmake.exe -E __run_co_compile --tidy=C:/msys64/mingw64/bin/clang-tidy.exe;--extra-arg-before=--driver-mode=g++ --source=D:/dev/tmp/cpp-gui-template-sdl2/src/core/Core/Application.cpp -- C:\msys64\mingw64\bin\c++.exe -DAPP_ENABLE_ASSERTS -DAPP_PROFILE -DDEBUG -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -ID:/dev/tmp/cpp-gui-template-sdl2/src/core -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/fmt-src/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/spdlog-src/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/sdl2-build/include -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/sdl2-build/include-config-debug -ID:/dev/tmp/cpp-gui-template-sdl2/build/debug/_deps/imgui-src -g -Wall -Wextra -Wnon-virtual-dtor -Wcast-align -Wunused -Woverloaded-virtual -Wpedantic -Wconversion -Wsign-conversion -Wnull-dereference -Wformat=2 -Werror -Wmisleading-indentation -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Wuseless-cast -std=gnu++20 -MD -MT src/core/CMakeFiles/Core.dir/Core/Application.cpp.obj -MF src\core\CMakeFiles\Core.dir\Core\Application.cpp.obj.d -o src/core/CMakeFiles/Core.dir/Core/Application.cpp.obj -c D:/dev/tmp/cpp-gui-template-sdl2/src/core/Core/Application.cpp
error: unknown warning option '-Wduplicated-branches' [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wduplicated-cond' [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [clang-diagnostic-unknown-warning-option]
error: unknown warning option '-Wuseless-cast' [clang-diagnostic-unknown-warning-option]
148957 warnings and 8 errors generated.
Error while processing D:/dev/tmp/cpp-gui-template-sdl2/src/core/Core/Application.cpp.
Suppressed 148961 warnings (148957 in non-user code, 4 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.

Found compiler error(s).

ninja: build stopped: subcommand failed.
MartinHelmut commented 1 year ago

For posterity, as we never followed up on this, we (me and @andgeno) paired on this, the bulk of fixes came in in this PR https://github.com/MartinHelmut/cpp-gui-template-sdl2/pull/2 and it should now compile under Windows without issues. Therefore I'm closing this issue ๐Ÿ™Œ๐Ÿป