I've tried today to recompile gzdoom to the new commits, but :
...
-- Performing Test SDL2_MIN_VERSION
-- Performing Test SDL2_MIN_VERSION - Failed
CMake Error at src/CMakeLists.txt:189 (message):
Only SDL 2.0.6 or later is supported.
...
And on the end, compilation fails. Btw, i have sdl 2.0.14 and sdl2_mixer at 2.0.4, which one causes the issue?
Compilation fails on linux due to sdl
Moderators: GZDoom Developers, LZDoom Developers, UZDoom Developers
Forum rules
Please be as descriptive as possible in your posts (list your hardware and operating system, the version of the source port you are using, any mods you are running and how they're being loaded, etc.)
This will help others to give you a solution!
Please be as descriptive as possible in your posts (list your hardware and operating system, the version of the source port you are using, any mods you are running and how they're being loaded, etc.)
This will help others to give you a solution!
-
SaveTheDoomer
- Posts: 152
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Compilation fails on linux due to sdl
Are you sure about SDL2 version? What's reported by the following command?
BTW, SDL2_mixer isn't used at all.
Code: Select all
sdl2-config --version --prefix --cflags --libs-
SaveTheDoomer
- Posts: 152
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Compilation fails on linux due to sdl
2.0.14
/usr
-I/usr/include/SDL2 -D_REENTRANT
-L/usr/lib -pthread -lSDL2
/usr
-I/usr/include/SDL2 -D_REENTRANT
-L/usr/lib -pthread -lSDL2
- Marisa the Magician
- Banned User
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
- Contact:
-
SaveTheDoomer
- Posts: 152
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Compilation fails on linux due to sdl
The issue is that the sdl check fails to recognize the version, then...
-
SaveTheDoomer
- Posts: 152
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Compilation fails on linux due to sdl
After the last commit i've managed to compile, thanks
