4.0.0: Linux i386 build fails

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

4.0.0: Linux i386 build fails

Post by Hirogen2 »

Due to CMakeLists.txt only enabling vulkan for x86_64, it fails to build on all other architectures:

Code: Select all

if( ${ZDOOM_TARGET_ARCH} MATCHES "x86_64" )
        set( HAVE_VM_JIT ON )
        set( HAVE_VULKAN ON )
endif()

Code: Select all

[  233s] /home/abuild/rpmbuild/BUILD/gzdoom-4.0.0/src/posix/sdl/sdlglvideo.cpp: In destructor 'virtual SDLVideo::~SDLVideo()':
[  233s] /home/abuild/rpmbuild/BUILD/gzdoom-4.0.0/src/posix/sdl/sdlglvideo.cpp:261:9: error: 'device' was not declared in this scope
[  233s]   delete device;
[  233s]          ^~~~~~
This in turn is because the destructor has "delete device;" not wrapped in ifdef HAVE_VULKAN.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: 4.0.0: Linux i386 build fails

Post by Graf Zahl »

fixed
Post Reply

Return to “Closed Bugs [GZDoom]”