[Ubuntu 14.10] gzdoom-2.0.05 build error

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
bugmenot
Posts: 1
Joined: Sat Feb 28, 2015 22:59

[Ubuntu 14.10] gzdoom-2.0.05 build error

Post by bugmenot »

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
Edward-san
Developer
Developer
Posts: 197
Joined: Sun Nov 29, 2009 16:36

Re: [Ubuntu 14.10] gzdoom-2.0.05 build error

Post by Edward-san »

It sounds like the 2.0.05 source file does not contain the SDL2 transition to sdlglvideo.cpp . The transition is contained in the following commits:

https://github.com/coelckers/gzdoom/com ... 07106a075d
https://github.com/coelckers/gzdoom/com ... 61bd6f9c1e
https://github.com/coelckers/gzdoom/com ... 3a7adaa326
https://github.com/coelckers/gzdoom/com ... f3c888ac7d

If you apply them with this order, you should be able to compile and run the program with no problems.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: [Ubuntu 14.10] gzdoom-2.0.05 build error

Post by Graf Zahl »

Correct, the SDL2 stuff was submitted after the 2.0.05 release, so obviously the tag doesn't have it.
EoceneMiacid
Posts: 3
Joined: Sun Jun 28, 2015 9:45

Re: [Ubuntu 14.10] gzdoom-2.0.05 build error

Post by EoceneMiacid »

Hi,

I use both debian.drdteam.org and the playdeb.net repositories, but neither have the 2.0.05 build available as of yet. Since there hasn't been any activity in this thread for four months I figured I'd ask :)
Locked

Return to “Closed Bugs”