by Hirogen2 » Sat Apr 13, 2019 11:05 am
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.
Due to CMakeLists.txt only enabling vulkan for x86_64, it fails to build on all other architectures:
[code]
if( ${ZDOOM_TARGET_ARCH} MATCHES "x86_64" )
set( HAVE_VM_JIT ON )
set( HAVE_VULKAN ON )
endif()
[/code]
[code]
[ 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] ^~~~~~
[/code]
This in turn is because the destructor has "delete device;" not wrapped in ifdef HAVE_VULKAN.