4.0.0: Linux i386 build fails

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 a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: 4.0.0: Linux i386 build fails

Re: 4.0.0: Linux i386 build fails

by Graf Zahl » Fri Apr 19, 2019 12:36 am

fixed

4.0.0: Linux i386 build fails

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.

Top