by Matt » Sat May 22, 2021 10:35 pm
Then nothing is working and I have no idea why.
I've even resorted to Google to look up
Code: Select all
undefined symbol: SDL_GetWindowBordersSize
and literally the only result is this thread...
I've found /usr/include/SDL2/SDL_vulkan.h while searching my entire system on Seamonkey. No idea why it can't be found by the compiler. I'm guessing this file would contain whatever the blob is complaining about with that
hapax legomenon error message, in which case no idea why it can't be found by GZDoom either.
And trying to add the full path for SDL_vulkan.h to sdlglvideo.cpp just gives me this unspeakable mess:
Spoiler:Code: Select all
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:31:
/usr/include/SDL2/SDL_stdinc.h:163:5: error: redefinition of enumerator
'SDL_FALSE'
SDL_FALSE = 0,
^
/usr/local/include/SDL2/SDL_stdinc.h:128:5: note: previous definition is here
SDL_FALSE = 0,
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:31:
/usr/include/SDL2/SDL_stdinc.h:164:5: error: redefinition of enumerator
'SDL_TRUE'
SDL_TRUE = 1
^
/usr/local/include/SDL2/SDL_stdinc.h:129:5: note: previous definition is here
SDL_TRUE = 1
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:31:
/usr/include/SDL2/SDL_stdinc.h:165:3: error: typedef redefinition with different
types ('enum SDL_bool' vs 'enum SDL_bool')
} SDL_bool;
^
/usr/local/include/SDL2/SDL_stdinc.h:130:3: note: previous definition is here
} SDL_bool;
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:31:
/usr/include/SDL2/SDL_stdinc.h:312:9: warning: 'SDL_COMPILE_TIME_ASSERT' macro
redefined [-Wmacro-redefined]
#define SDL_COMPILE_TIME_ASSERT(name, x) \
^
/usr/local/include/SDL2/SDL_stdinc.h:169:9: note: previous definition is here
#define SDL_COMPILE_TIME_ASSERT(name, x) \
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:31:
/usr/include/SDL2/SDL_stdinc.h:339:5: error: redefinition of enumerator
'DUMMY_ENUM_VALUE'
DUMMY_ENUM_VALUE
^
/usr/local/include/SDL2/SDL_stdinc.h:196:5: note: previous definition is here
DUMMY_ENUM_VALUE
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:31:
/usr/include/SDL2/SDL_stdinc.h:340:3: error: typedef redefinition with different
types ('enum SDL_DUMMY_ENUM' vs 'enum SDL_DUMMY_ENUM')
} SDL_DUMMY_ENUM;
^
/usr/local/include/SDL2/SDL_stdinc.h:197:3: note: previous definition is here
} SDL_DUMMY_ENUM;
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:31:
/usr/include/SDL2/SDL_stdinc.h:420:23: error: redefinition of 'SDL_memset4'
SDL_FORCE_INLINE void SDL_memset4(void *dst, Uint32 val, size_t dwords)
^
/usr/local/include/SDL2/SDL_stdinc.h:268:23: note: previous definition is here
SDL_FORCE_INLINE void SDL_memset4(void *dst, Uint32 val, size_t dwords)
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:31:
/usr/include/SDL2/SDL_stdinc.h:594:24: error: redefinition of 'SDL_memcpy4'
SDL_FORCE_INLINE void *SDL_memcpy4(SDL_OUT_BYTECAP(dwords*4) void *dst, ...
^
/usr/local/include/SDL2/SDL_stdinc.h:299:24: note: previous definition is here
SDL_FORCE_INLINE void *SDL_memcpy4(void *dst, const void *src, size_t dwords)
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:32:
In file included from /usr/include/SDL2/SDL_pixels.h:32:
/usr/include/SDL2/SDL_endian.h:78:1: error: redefinition of 'SDL_Swap16'
SDL_Swap16(Uint16 x)
^
/usr/local/include/SDL2/SDL_endian.h:78:1: note: previous definition is here
SDL_Swap16(Uint16 x)
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:32:
In file included from /usr/include/SDL2/SDL_pixels.h:32:
/usr/include/SDL2/SDL_endian.h:122:1: error: redefinition of 'SDL_Swap32'
SDL_Swap32(Uint32 x)
^
/usr/local/include/SDL2/SDL_endian.h:116:1: note: previous definition is here
SDL_Swap32(Uint32 x)
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:32:
In file included from /usr/include/SDL2/SDL_pixels.h:32:
/usr/include/SDL2/SDL_endian.h:189:1: error: redefinition of 'SDL_Swap64'
SDL_Swap64(Uint64 x)
^
/usr/local/include/SDL2/SDL_endian.h:168:1: note: previous definition is here
SDL_Swap64(Uint64 x)
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:32:
In file included from /usr/include/SDL2/SDL_pixels.h:32:
/usr/include/SDL2/SDL_endian.h:213:1: error: redefinition of 'SDL_SwapFloat'
SDL_SwapFloat(float x)
^
/usr/local/include/SDL2/SDL_endian.h:192:1: note: previous definition is here
SDL_SwapFloat(float x)
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:32:
/usr/include/SDL2/SDL_pixels.h:53:5: error: redefinition of enumerator
'SDL_PIXELTYPE_UNKNOWN'
SDL_PIXELTYPE_UNKNOWN,
^
/usr/local/include/SDL2/SDL_pixels.h:52:5: note: previous definition is here
SDL_PIXELTYPE_UNKNOWN,
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:32:
/usr/include/SDL2/SDL_pixels.h:54:5: error: redefinition of enumerator
'SDL_PIXELTYPE_INDEX1'
SDL_PIXELTYPE_INDEX1,
^
/usr/local/include/SDL2/SDL_pixels.h:53:5: note: previous definition is here
SDL_PIXELTYPE_INDEX1,
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:32:
/usr/include/SDL2/SDL_pixels.h:55:5: error: redefinition of enumerator
'SDL_PIXELTYPE_INDEX4'
SDL_PIXELTYPE_INDEX4,
^
/usr/local/include/SDL2/SDL_pixels.h:54:5: note: previous definition is here
SDL_PIXELTYPE_INDEX4,
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:32:
/usr/include/SDL2/SDL_pixels.h:56:5: error: redefinition of enumerator
'SDL_PIXELTYPE_INDEX8'
SDL_PIXELTYPE_INDEX8,
^
/usr/local/include/SDL2/SDL_pixels.h:55:5: note: previous definition is here
SDL_PIXELTYPE_INDEX8,
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:32:
/usr/include/SDL2/SDL_pixels.h:57:5: error: redefinition of enumerator
'SDL_PIXELTYPE_PACKED8'
SDL_PIXELTYPE_PACKED8,
^
/usr/local/include/SDL2/SDL_pixels.h:56:5: note: previous definition is here
SDL_PIXELTYPE_PACKED8,
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:32:
/usr/include/SDL2/SDL_pixels.h:58:5: error: redefinition of enumerator
'SDL_PIXELTYPE_PACKED16'
SDL_PIXELTYPE_PACKED16,
^
/usr/local/include/SDL2/SDL_pixels.h:57:5: note: previous definition is here
SDL_PIXELTYPE_PACKED16,
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:32:
/usr/include/SDL2/SDL_pixels.h:59:5: error: redefinition of enumerator
'SDL_PIXELTYPE_PACKED32'
SDL_PIXELTYPE_PACKED32,
^
/usr/local/include/SDL2/SDL_pixels.h:58:5: note: previous definition is here
SDL_PIXELTYPE_PACKED32,
^
In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66:
In file included from /usr/include/SDL2/SDL_vulkan.h:31:
In file included from /usr/include/SDL2/SDL_video.h:32:
/usr/include/SDL2/SDL_pixels.h:60:5: error: redefinition of enumerator
'SDL_PIXELTYPE_ARRAYU8'
SDL_PIXELTYPE_ARRAYU8,
^
/usr/local/include/SDL2/SDL_pixels.h:59:5: note: previous definition is here
SDL_PIXELTYPE_ARRAYU8,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
Looking at this more closely it seems to be finding two files that do the same thing?
For what it's worth, I have not seen anything else break running anything else that looks like it involves SDL, so it's probably not a corrupt installation but something related to paths GZDoom is using to search for the SDL Vulkan header. I have no idea how to configure that stuff.
Then nothing is working and I have no idea why. I've even resorted to Google to look up[code]undefined symbol: SDL_GetWindowBordersSize[/code] and literally the only result is this thread... I've found /usr/include/SDL2/SDL_vulkan.h while searching my entire system on Seamonkey. No idea why it can't be found by the compiler. I'm guessing this file would contain whatever the blob is complaining about with that [i]hapax legomenon[/i] error message, in which case no idea why it can't be found by GZDoom either. And trying to add the full path for SDL_vulkan.h to sdlglvideo.cpp just gives me this unspeakable mess: [spoiler][code]In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:31: /usr/include/SDL2/SDL_stdinc.h:163:5: error: redefinition of enumerator 'SDL_FALSE' SDL_FALSE = 0, ^ /usr/local/include/SDL2/SDL_stdinc.h:128:5: note: previous definition is here SDL_FALSE = 0, ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:31: /usr/include/SDL2/SDL_stdinc.h:164:5: error: redefinition of enumerator 'SDL_TRUE' SDL_TRUE = 1 ^ /usr/local/include/SDL2/SDL_stdinc.h:129:5: note: previous definition is here SDL_TRUE = 1 ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:31: /usr/include/SDL2/SDL_stdinc.h:165:3: error: typedef redefinition with different types ('enum SDL_bool' vs 'enum SDL_bool') } SDL_bool; ^ /usr/local/include/SDL2/SDL_stdinc.h:130:3: note: previous definition is here } SDL_bool; ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:31: /usr/include/SDL2/SDL_stdinc.h:312:9: warning: 'SDL_COMPILE_TIME_ASSERT' macro redefined [-Wmacro-redefined] #define SDL_COMPILE_TIME_ASSERT(name, x) \ ^ /usr/local/include/SDL2/SDL_stdinc.h:169:9: note: previous definition is here #define SDL_COMPILE_TIME_ASSERT(name, x) \ ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:31: /usr/include/SDL2/SDL_stdinc.h:339:5: error: redefinition of enumerator 'DUMMY_ENUM_VALUE' DUMMY_ENUM_VALUE ^ /usr/local/include/SDL2/SDL_stdinc.h:196:5: note: previous definition is here DUMMY_ENUM_VALUE ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:31: /usr/include/SDL2/SDL_stdinc.h:340:3: error: typedef redefinition with different types ('enum SDL_DUMMY_ENUM' vs 'enum SDL_DUMMY_ENUM') } SDL_DUMMY_ENUM; ^ /usr/local/include/SDL2/SDL_stdinc.h:197:3: note: previous definition is here } SDL_DUMMY_ENUM; ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:31: /usr/include/SDL2/SDL_stdinc.h:420:23: error: redefinition of 'SDL_memset4' SDL_FORCE_INLINE void SDL_memset4(void *dst, Uint32 val, size_t dwords) ^ /usr/local/include/SDL2/SDL_stdinc.h:268:23: note: previous definition is here SDL_FORCE_INLINE void SDL_memset4(void *dst, Uint32 val, size_t dwords) ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:31: /usr/include/SDL2/SDL_stdinc.h:594:24: error: redefinition of 'SDL_memcpy4' SDL_FORCE_INLINE void *SDL_memcpy4(SDL_OUT_BYTECAP(dwords*4) void *dst, ... ^ /usr/local/include/SDL2/SDL_stdinc.h:299:24: note: previous definition is here SDL_FORCE_INLINE void *SDL_memcpy4(void *dst, const void *src, size_t dwords) ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:32: In file included from /usr/include/SDL2/SDL_pixels.h:32: /usr/include/SDL2/SDL_endian.h:78:1: error: redefinition of 'SDL_Swap16' SDL_Swap16(Uint16 x) ^ /usr/local/include/SDL2/SDL_endian.h:78:1: note: previous definition is here SDL_Swap16(Uint16 x) ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:32: In file included from /usr/include/SDL2/SDL_pixels.h:32: /usr/include/SDL2/SDL_endian.h:122:1: error: redefinition of 'SDL_Swap32' SDL_Swap32(Uint32 x) ^ /usr/local/include/SDL2/SDL_endian.h:116:1: note: previous definition is here SDL_Swap32(Uint32 x) ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:32: In file included from /usr/include/SDL2/SDL_pixels.h:32: /usr/include/SDL2/SDL_endian.h:189:1: error: redefinition of 'SDL_Swap64' SDL_Swap64(Uint64 x) ^ /usr/local/include/SDL2/SDL_endian.h:168:1: note: previous definition is here SDL_Swap64(Uint64 x) ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:32: In file included from /usr/include/SDL2/SDL_pixels.h:32: /usr/include/SDL2/SDL_endian.h:213:1: error: redefinition of 'SDL_SwapFloat' SDL_SwapFloat(float x) ^ /usr/local/include/SDL2/SDL_endian.h:192:1: note: previous definition is here SDL_SwapFloat(float x) ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:32: /usr/include/SDL2/SDL_pixels.h:53:5: error: redefinition of enumerator 'SDL_PIXELTYPE_UNKNOWN' SDL_PIXELTYPE_UNKNOWN, ^ /usr/local/include/SDL2/SDL_pixels.h:52:5: note: previous definition is here SDL_PIXELTYPE_UNKNOWN, ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:32: /usr/include/SDL2/SDL_pixels.h:54:5: error: redefinition of enumerator 'SDL_PIXELTYPE_INDEX1' SDL_PIXELTYPE_INDEX1, ^ /usr/local/include/SDL2/SDL_pixels.h:53:5: note: previous definition is here SDL_PIXELTYPE_INDEX1, ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:32: /usr/include/SDL2/SDL_pixels.h:55:5: error: redefinition of enumerator 'SDL_PIXELTYPE_INDEX4' SDL_PIXELTYPE_INDEX4, ^ /usr/local/include/SDL2/SDL_pixels.h:54:5: note: previous definition is here SDL_PIXELTYPE_INDEX4, ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:32: /usr/include/SDL2/SDL_pixels.h:56:5: error: redefinition of enumerator 'SDL_PIXELTYPE_INDEX8' SDL_PIXELTYPE_INDEX8, ^ /usr/local/include/SDL2/SDL_pixels.h:55:5: note: previous definition is here SDL_PIXELTYPE_INDEX8, ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:32: /usr/include/SDL2/SDL_pixels.h:57:5: error: redefinition of enumerator 'SDL_PIXELTYPE_PACKED8' SDL_PIXELTYPE_PACKED8, ^ /usr/local/include/SDL2/SDL_pixels.h:56:5: note: previous definition is here SDL_PIXELTYPE_PACKED8, ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:32: /usr/include/SDL2/SDL_pixels.h:58:5: error: redefinition of enumerator 'SDL_PIXELTYPE_PACKED16' SDL_PIXELTYPE_PACKED16, ^ /usr/local/include/SDL2/SDL_pixels.h:57:5: note: previous definition is here SDL_PIXELTYPE_PACKED16, ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:32: /usr/include/SDL2/SDL_pixels.h:59:5: error: redefinition of enumerator 'SDL_PIXELTYPE_PACKED32' SDL_PIXELTYPE_PACKED32, ^ /usr/local/include/SDL2/SDL_pixels.h:58:5: note: previous definition is here SDL_PIXELTYPE_PACKED32, ^ In file included from /home/m/doom/gzdoom-g4.6.0/src/common/platform/posix/sdl/sdlglvideo.cpp:66: In file included from /usr/include/SDL2/SDL_vulkan.h:31: In file included from /usr/include/SDL2/SDL_video.h:32: /usr/include/SDL2/SDL_pixels.h:60:5: error: redefinition of enumerator 'SDL_PIXELTYPE_ARRAYU8' SDL_PIXELTYPE_ARRAYU8, ^ /usr/local/include/SDL2/SDL_pixels.h:59:5: note: previous definition is here SDL_PIXELTYPE_ARRAYU8, ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated.[/code][/spoiler]Looking at this more closely it seems to be finding two files that do the same thing? For what it's worth, I have not seen anything else break running anything else that looks like it involves SDL, so it's probably not a corrupt installation but something related to paths GZDoom is using to search for the SDL Vulkan header. I have no idea how to configure that stuff.