Created
April 26, 2020 17:11
-
-
Save sharkwouter/367abfbf1a875f4296c74779dec70eab to your computer and use it in GitHub Desktop.
SDL2 cmake log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deleting old version of SDL2-2.0.9 | |
Extracting 2.0.9.tar.gz... | |
Extracting 2.0.9.tar.gz... | |
-- The C compiler identification is GNU 9.3.0 | |
-- Check for working C compiler: /usr/local/pspdev/bin/psp-gcc | |
-- Check for working C compiler: /usr/local/pspdev/bin/psp-gcc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") | |
-- 0.9.0 :: 9 :: 0 :: 9 :: 2.0 | |
-- Performing Test HAVE_GCC_WALL | |
-- Performing Test HAVE_GCC_WALL - 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 - Success | |
-- 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 - Failed | |
-- Performing Test HAVE_3DNOW | |
-- Performing Test HAVE_3DNOW - Failed | |
-- Performing Test HAVE_SSE | |
-- Performing Test HAVE_SSE - Failed | |
-- Performing Test HAVE_FP_387 | |
-- Performing Test HAVE_FP_387 - Failed | |
-- Looking for immintrin.h | |
-- Looking for immintrin.h - not found | |
-- Performing Test HAVE_ALTIVEC_H_HDR | |
-- Performing Test HAVE_ALTIVEC_H_HDR - Failed | |
-- Performing Test HAVE_ALTIVEC | |
-- Performing Test HAVE_ALTIVEC - Failed | |
-- | |
-- SDL2 was configured with the following options: | |
-- | |
-- Platform: Generic | |
-- 64-bit: FALSE | |
-- Compiler: /usr/local/pspdev/bin/psp-gcc | |
-- | |
-- 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 | |
-- | |
-- Options: | |
-- 3DNOW (Wanted: ON): OFF | |
-- ALSA (Wanted: OFF): OFF | |
-- ALSA_SHARED (Wanted: OFF): OFF | |
-- ALTIVEC (Wanted: ON): OFF | |
-- ARTS (Wanted: OFF): OFF | |
-- ARTS_SHARED (Wanted: OFF): OFF | |
-- ASSEMBLY (Wanted: ON): ON | |
-- ASSERTIONS (Wanted: auto): auto | |
-- CLOCK_GETTIME (Wanted: OFF): OFF | |
-- DIRECTFB_SHARED (Wanted: OFF): OFF | |
-- DIRECTX (Wanted: OFF): OFF | |
-- DISKAUDIO (Wanted: ON): ON | |
-- DUMMYAUDIO (Wanted: ON): ON | |
-- ESD (Wanted: OFF): OFF | |
-- ESD_SHARED (Wanted: OFF): OFF | |
-- FUSIONSOUND (Wanted: OFF): OFF | |
-- FUSIONSOUND_SHARED (Wanted: OFF): OFF | |
-- GCC_ATOMICS (Wanted: ON): ON | |
-- INPUT_TSLIB (Wanted: OFF): OFF | |
-- JACK (Wanted: OFF): OFF | |
-- JACK_SHARED (Wanted: OFF): OFF | |
-- KMSDRM_SHARED (Wanted: OFF): OFF | |
-- LIBC (Wanted: OFF): OFF | |
-- LIBSAMPLERATE (Wanted: OFF): OFF | |
-- LIBSAMPLERATE_SHARED (Wanted: OFF): OFF | |
-- MIR_SHARED (Wanted: OFF): OFF | |
-- MMX (Wanted: ON): OFF | |
-- NAS (Wanted: OFF): OFF | |
-- NAS_SHARED (Wanted: OFF): OFF | |
-- OSS (Wanted: OFF): OFF | |
-- PTHREADS (Wanted: OFF): OFF | |
-- PTHREADS_SEM (Wanted: OFF): OFF | |
-- PULSEAUDIO (Wanted: OFF): OFF | |
-- PULSEAUDIO_SHARED (Wanted: OFF): OFF | |
-- RENDER_D3D (Wanted: OFF): OFF | |
-- RPATH (Wanted: OFF): OFF | |
-- SDL_DLOPEN (Wanted: ON): OFF | |
-- SDL_STATIC_PIC (Wanted: OFF): OFF | |
-- SDL_TEST (Wanted: OFF): OFF | |
-- SNDIO (Wanted: OFF): OFF | |
-- SSE (Wanted: ON): OFF | |
-- SSE2 (Wanted: OFF): OFF | |
-- SSE3 (Wanted: OFF): OFF | |
-- SSEMATH (Wanted: OFF): ON | |
-- VIDEO_COCOA (Wanted: OFF): OFF | |
-- VIDEO_DIRECTFB (Wanted: OFF): OFF | |
-- VIDEO_DUMMY (Wanted: ON): ON | |
-- VIDEO_KMSDRM (Wanted: OFF): OFF | |
-- VIDEO_MIR (Wanted: OFF): OFF | |
-- VIDEO_OPENGL (Wanted: ON): OFF | |
-- VIDEO_OPENGLES (Wanted: ON): OFF | |
-- VIDEO_RPI (Wanted: OFF): OFF | |
-- VIDEO_VIVANTE (Wanted: OFF): OFF | |
-- VIDEO_VULKAN (Wanted: OFF): OFF | |
-- VIDEO_WAYLAND (Wanted: OFF): OFF | |
-- VIDEO_WAYLAND_QT_TOUCH (Wanted: OFF): OFF | |
-- VIDEO_X11 (Wanted: OFF): OFF | |
-- VIDEO_X11_XCURSOR (Wanted: OFF): OFF | |
-- VIDEO_X11_XINERAMA (Wanted: OFF): OFF | |
-- VIDEO_X11_XINPUT (Wanted: OFF): OFF | |
-- VIDEO_X11_XRANDR (Wanted: OFF): OFF | |
-- VIDEO_X11_XSCRNSAVER (Wanted: OFF): OFF | |
-- VIDEO_X11_XSHAPE (Wanted: OFF): OFF | |
-- VIDEO_X11_XVM (Wanted: OFF): OFF | |
-- WASAPI (Wanted: OFF): OFF | |
-- WAYLAND_SHARED (Wanted: OFF): OFF | |
-- X11_SHARED (Wanted: OFF): OFF | |
-- | |
-- CFLAGS: -g -O3 -idirafter /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/video/khronos | |
-- EXTRA_CFLAGS: -Wshadow -fvisibility=hidden -Wdeclaration-after-statement -Werror=declaration-after-statement -Wall | |
-- EXTRA_LDFLAGS: -Wl,--no-undefined | |
-- EXTRA_LIBS: | |
-- | |
-- Build Shared Library: ON | |
-- Build Static Library: ON | |
-- Build Static Library with Position Independent Code: OFF | |
-- | |
CMake Warning (dev) at CMakeLists.txt:1742 (add_library): | |
ADD_LIBRARY called with SHARED option but the target platform does not | |
support dynamic linking. Building a STATIC library instead. This may lead | |
to problems. | |
This warning is for project developers. Use -Wno-dev to suppress it. | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/build | |
Scanning dependencies of target SDL2 | |
Scanning dependencies of target SDL2main | |
Scanning dependencies of target SDL2-static | |
[ 0%] Building C object CMakeFiles/SDL2main.dir/src/main/dummy/SDL_dummy_main.c.obj | |
In file included from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_main.h:25, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/main/dummy/SDL_dummy_main.c:7: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:17: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:51: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:454:49: error: unknown type name ‘wchar_t’ | |
454 | extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:66: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:348:1: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
347 | #include "begin_code.h" | |
+++ |+#include <stddef.h> | |
348 | /* Set up for C function definitions, even when using C++ */ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:86: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:88: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:46: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:67: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
make[2]: *** [CMakeFiles/SDL2main.dir/build.make:63: CMakeFiles/SDL2main.dir/src/main/dummy/SDL_dummy_main.c.obj] Error 1 | |
make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/SDL2main.dir/all] Error 2 | |
make[1]: *** Waiting for unfinished jobs.... | |
[ 1%] Building C object CMakeFiles/SDL2.dir/src/SDL_dataqueue.c.obj | |
[ 1%] Building C object CMakeFiles/SDL2.dir/src/SDL_error.c.obj | |
[ 1%] Building C object CMakeFiles/SDL2.dir/src/SDL_assert.c.obj | |
[ 1%] Building C object CMakeFiles/SDL2.dir/src/SDL.c.obj | |
[ 1%] Building C object CMakeFiles/SDL2.dir/src/SDL_log.c.obj | |
[ 2%] Building C object CMakeFiles/SDL2.dir/src/SDL_hints.c.obj | |
[ 2%] Building C object CMakeFiles/SDL2.dir/src/atomic/SDL_atomic.c.obj | |
In file included from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_main.h:25, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL.h:32, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_dataqueue.c:23: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:17: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
In file included from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_error.h:31, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:29: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:17: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
In file included from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_hints.h:42, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_hints.c:23: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:17: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
In file included from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_main.h:25, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL.h:32, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_assert.c:27: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:17: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:51: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:51: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
In file included from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_log.h:40, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_error.c:25: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:17: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:51: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:51: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:454:49: error: unknown type name ‘wchar_t’ | |
454 | extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:454:49: error: unknown type name ‘wchar_t’ | |
454 | extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:51: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:66: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:454:49: error: unknown type name ‘wchar_t’ | |
454 | extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:348:1: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
347 | #include "begin_code.h" | |
+++ |+#include <stddef.h> | |
348 | /* Set up for C function definitions, even when using C++ */ | |
In file included from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_main.h:25, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL.h:32, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL.c:29: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:17: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:454:49: error: unknown type name ‘wchar_t’ | |
454 | extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:86: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:66: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:51: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:348:1: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
347 | #include "begin_code.h" | |
+++ |+#include <stddef.h> | |
348 | /* Set up for C function definitions, even when using C++ */ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:66: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:454:49: error: unknown type name ‘wchar_t’ | |
454 | extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:86: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:348:1: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
347 | #include "begin_code.h" | |
+++ |+#include <stddef.h> | |
348 | /* Set up for C function definitions, even when using C++ */ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:88: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:66: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:86: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:348:1: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
347 | #include "begin_code.h" | |
+++ |+#include <stddef.h> | |
348 | /* Set up for C function definitions, even when using C++ */ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:46: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:86: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:88: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:67: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:454:49: error: unknown type name ‘wchar_t’ | |
454 | extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:66: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:348:1: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
347 | #include "begin_code.h" | |
+++ |+#include <stddef.h> | |
348 | /* Set up for C function definitions, even when using C++ */ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:66: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:86: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:348:1: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
347 | #include "begin_code.h" | |
+++ |+#include <stddef.h> | |
348 | /* Set up for C function definitions, even when using C++ */ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:86: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:88: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:88: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:46: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:46: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:67: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:67: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
[ 3%] Building C object CMakeFiles/SDL2-static.dir/src/SDL.c.obj | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:88: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:88: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:46: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:46: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:67: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:67: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:46: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:67: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
make[2]: *** [CMakeFiles/SDL2.dir/build.make:115: CMakeFiles/SDL2.dir/src/SDL_hints.c.obj] Error 1 | |
make[2]: *** Waiting for unfinished jobs.... | |
In file included from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_atomic.h:62, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/atomic/SDL_atomic.c:23: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:17: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:51: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:454:49: error: unknown type name ‘wchar_t’ | |
454 | extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:66: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:348:1: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
347 | #include "begin_code.h" | |
+++ |+#include <stddef.h> | |
348 | /* Set up for C function definitions, even when using C++ */ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:86: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:88: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:46: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:67: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c: In function ‘SDL_LogOutput’: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:418:9: error: unknown type name ‘FILE’ | |
418 | FILE* pFile; | |
| ^~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:31:1: note: ‘FILE’ is defined in header ‘<stdio.h>’; did you forget to ‘#include <stdio.h>’? | |
30 | #include "SDL_log.h" | |
+++ |+#include <stdio.h> | |
31 | | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:419:17: warning: implicit declaration of function ‘fopen’ [-Wimplicit-function-declaration] | |
419 | pFile = fopen ("SDL_Log.txt", "a"); | |
| ^~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:419:17: note: ‘fopen’ is defined in header ‘<stdio.h>’; did you forget to ‘#include <stdio.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:419:15: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] | |
419 | pFile = fopen ("SDL_Log.txt", "a"); | |
| ^ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:420:9: warning: implicit declaration of function ‘fprintf’ [-Wimplicit-function-declaration] | |
420 | fprintf(pFile, "%s: %s\n", SDL_priority_prefixes[priority], message); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:420:9: warning: incompatible implicit declaration of built-in function ‘fprintf’ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:420:9: note: include ‘<stdio.h>’ or provide a declaration of ‘fprintf’ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:421:9: warning: implicit declaration of function ‘fclose’ [-Wimplicit-function-declaration] | |
421 | fclose (pFile); | |
| ^~~~~~ | |
make[2]: *** [CMakeFiles/SDL2.dir/build.make:128: CMakeFiles/SDL2.dir/src/SDL_log.c.obj] Error 1 | |
make[2]: *** [CMakeFiles/SDL2.dir/build.make:102: CMakeFiles/SDL2.dir/src/SDL_error.c.obj] Error 1 | |
make[2]: *** [CMakeFiles/SDL2.dir/build.make:141: CMakeFiles/SDL2.dir/src/atomic/SDL_atomic.c.obj] Error 1 | |
In file included from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_main.h:25, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL.h:32, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL.c:29: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:17: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:51: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:454:49: error: unknown type name ‘wchar_t’ | |
454 | extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:66: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:348:1: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
347 | #include "begin_code.h" | |
+++ |+#include <stddef.h> | |
348 | /* Set up for C function definitions, even when using C++ */ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:86: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:88: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:46: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:67: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
[ 3%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_assert.c.obj | |
[ 3%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_dataqueue.c.obj | |
make[2]: *** [CMakeFiles/SDL2.dir/build.make:63: CMakeFiles/SDL2.dir/src/SDL.c.obj] Error 1 | |
[ 4%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_error.c.obj | |
make[2]: *** [CMakeFiles/SDL2.dir/build.make:89: CMakeFiles/SDL2.dir/src/SDL_dataqueue.c.obj] Error 1 | |
In file included from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_main.h:25, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL.h:32, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_assert.c:27: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:17: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:51: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:454:49: error: unknown type name ‘wchar_t’ | |
454 | extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:66: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:348:1: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
347 | #include "begin_code.h" | |
+++ |+#include <stddef.h> | |
348 | /* Set up for C function definitions, even when using C++ */ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:86: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:88: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:46: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:67: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
[ 4%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_hints.c.obj | |
In file included from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_main.h:25, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL.h:32, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_dataqueue.c:23: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:17: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:51: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:454:49: error: unknown type name ‘wchar_t’ | |
454 | extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:66: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:348:1: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
347 | #include "begin_code.h" | |
+++ |+#include <stddef.h> | |
348 | /* Set up for C function definitions, even when using C++ */ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:86: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:88: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:46: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:67: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
make[2]: *** [CMakeFiles/SDL2.dir/build.make:76: CMakeFiles/SDL2.dir/src/SDL_assert.c.obj] Error 1 | |
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/SDL2.dir/all] Error 2 | |
In file included from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_log.h:40, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_error.c:25: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:17: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:51: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:454:49: error: unknown type name ‘wchar_t’ | |
454 | extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:66: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:348:1: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
347 | #include "begin_code.h" | |
+++ |+#include <stddef.h> | |
348 | /* Set up for C function definitions, even when using C++ */ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:86: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:88: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:46: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:67: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
[ 5%] Building C object CMakeFiles/SDL2-static.dir/src/SDL_log.c.obj | |
make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:63: CMakeFiles/SDL2-static.dir/src/SDL.c.obj] Error 1 | |
make[2]: *** Waiting for unfinished jobs.... | |
make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:102: CMakeFiles/SDL2-static.dir/src/SDL_error.c.obj] Error 1 | |
In file included from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_hints.h:42, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_hints.c:23: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:17: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:51: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:454:49: error: unknown type name ‘wchar_t’ | |
454 | extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:66: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:348:1: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
347 | #include "begin_code.h" | |
+++ |+#include <stddef.h> | |
348 | /* Set up for C function definitions, even when using C++ */ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:86: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:88: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:46: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:67: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
[ 5%] Building C object CMakeFiles/SDL2-static.dir/src/atomic/SDL_atomic.c.obj | |
In file included from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_error.h:31, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:29: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:17: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:51: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:454:49: error: unknown type name ‘wchar_t’ | |
454 | extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:66: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:348:1: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
347 | #include "begin_code.h" | |
+++ |+#include <stddef.h> | |
348 | /* Set up for C function definitions, even when using C++ */ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:86: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:88: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:46: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:67: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:115: CMakeFiles/SDL2-static.dir/src/SDL_hints.c.obj] Error 1 | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c: In function ‘SDL_LogOutput’: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:418:9: error: unknown type name ‘FILE’ | |
418 | FILE* pFile; | |
| ^~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:31:1: note: ‘FILE’ is defined in header ‘<stdio.h>’; did you forget to ‘#include <stdio.h>’? | |
30 | #include "SDL_log.h" | |
+++ |+#include <stdio.h> | |
31 | | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:419:17: warning: implicit declaration of function ‘fopen’ [-Wimplicit-function-declaration] | |
419 | pFile = fopen ("SDL_Log.txt", "a"); | |
| ^~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:419:17: note: ‘fopen’ is defined in header ‘<stdio.h>’; did you forget to ‘#include <stdio.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:419:15: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] | |
419 | pFile = fopen ("SDL_Log.txt", "a"); | |
| ^ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:420:9: warning: implicit declaration of function ‘fprintf’ [-Wimplicit-function-declaration] | |
420 | fprintf(pFile, "%s: %s\n", SDL_priority_prefixes[priority], message); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:420:9: warning: incompatible implicit declaration of built-in function ‘fprintf’ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:420:9: note: include ‘<stdio.h>’ or provide a declaration of ‘fprintf’ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/SDL_log.c:421:9: warning: implicit declaration of function ‘fclose’ [-Wimplicit-function-declaration] | |
421 | fclose (pFile); | |
| ^~~~~~ | |
make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:128: CMakeFiles/SDL2-static.dir/src/SDL_log.c.obj] Error 1 | |
make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:76: CMakeFiles/SDL2-static.dir/src/SDL_assert.c.obj] Error 1 | |
In file included from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_atomic.h:62, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/atomic/SDL_atomic.c:23: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:17: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:51: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:454:49: error: unknown type name ‘wchar_t’ | |
454 | extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:66: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:348:1: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
347 | #include "begin_code.h" | |
+++ |+#include <stddef.h> | |
348 | /* Set up for C function definitions, even when using C++ */ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:86: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:88: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:46: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:67: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:141: CMakeFiles/SDL2-static.dir/src/atomic/SDL_atomic.c.obj] Error 1 | |
[ 5%] Building C object CMakeFiles/SDL2-static.dir/src/atomic/SDL_spinlock.c.obj | |
make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:89: CMakeFiles/SDL2-static.dir/src/SDL_dataqueue.c.obj] Error 1 | |
In file included from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_atomic.h:62, | |
from /home/wouter/Sources/psplibraries/build/SDL2-2.0.9/src/atomic/SDL_spinlock.c:27: | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:17: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:453:51: error: unknown type name ‘wchar_t’ | |
453 | extern DECLSPEC wchar_t *SDLCALL SDL_wcsdup(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:454:49: error: unknown type name ‘wchar_t’ | |
454 | extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:66: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:348:1: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
347 | #include "begin_code.h" | |
+++ |+#include <stddef.h> | |
348 | /* Set up for C function definitions, even when using C++ */ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:455:86: error: unknown type name ‘wchar_t’ | |
455 | extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:68: note: ‘wchar_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’? | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:456:88: error: unknown type name ‘wchar_t’ | |
456 | extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:46: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
/home/wouter/Sources/psplibraries/build/SDL2-2.0.9/include/SDL_stdinc.h:457:67: error: unknown type name ‘wchar_t’ | |
457 | extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); | |
| ^~~~~~~ | |
make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:154: CMakeFiles/SDL2-static.dir/src/atomic/SDL_spinlock.c.obj] Error 1 | |
make[1]: *** [CMakeFiles/Makefile2:179: CMakeFiles/SDL2-static.dir/all] Error 2 | |
make: *** [Makefile:130: all] Error 2 | |
Failed installing SDL2! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment