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
[Ubuntu 14.10] gzdoom-2.0.05 build error
Moderator: Graf Zahl
-
- Developer
- Posts: 197
- Joined: Sun Nov 29, 2009 16:36
Re: [Ubuntu 14.10] gzdoom-2.0.05 build error
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.
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.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: [Ubuntu 14.10] gzdoom-2.0.05 build error
Correct, the SDL2 stuff was submitted after the 2.0.05 release, so obviously the tag doesn't have it.
-
- Posts: 3
- Joined: Sun Jun 28, 2015 9:45
Re: [Ubuntu 14.10] gzdoom-2.0.05 build error
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
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
