[Ubuntu 14.10] gzdoom-2.0.05 build error
Posted: Sat Feb 28, 2015 23:09
Hi,
when trying to compile gzdoom-2.0.05 for Ubuntu 14.10 there is a build error regarding sdlglvideo.cpp
first there was an error about a missing header and then sdlglvideo.cpp was not compiled.
So I patched the CMakeLists.txt:
http://paste.ubuntu.com/10475763/
Now there is this error:
[ 34%] /home/korn/packages/gzdoom/gzdoom-2.0.05/src/sdl/sdlglvideo.cpp: In member function ‘virtual bool SDLGLVideo::NextMode(int*, int*, bool*)’:
/home/korn/packages/gzdoom/gzdoom-2.0.05/src/sdl/sdlglvideo.cpp:159:43: error: ‘SDL_FULLSCREEN’ was not declared in this scope
SDL_Rect **modes = SDL_ListModes (NULL, SDL_FULLSCREEN|SDL_HWSURFACE);
And more like these.
Can someone please help me compile the latest version?
This is for a Debian package for the Ubuntu gaming site playdeb.net
http://www.playdeb.net/game/GZdoom
when trying to compile gzdoom-2.0.05 for Ubuntu 14.10 there is a build error regarding sdlglvideo.cpp
first there was an error about a missing header and then sdlglvideo.cpp was not compiled.
So I patched the CMakeLists.txt:
http://paste.ubuntu.com/10475763/
Now there is this error:
[ 34%] /home/korn/packages/gzdoom/gzdoom-2.0.05/src/sdl/sdlglvideo.cpp: In member function ‘virtual bool SDLGLVideo::NextMode(int*, int*, bool*)’:
/home/korn/packages/gzdoom/gzdoom-2.0.05/src/sdl/sdlglvideo.cpp:159:43: error: ‘SDL_FULLSCREEN’ was not declared in this scope
SDL_Rect **modes = SDL_ListModes (NULL, SDL_FULLSCREEN|SDL_HWSURFACE);
And more like these.
Can someone please help me compile the latest version?
This is for a Debian package for the Ubuntu gaming site playdeb.net
http://www.playdeb.net/game/GZdoom