Cannot compile latest GZDoom on Linux

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
Talon1024

Cannot compile latest GZDoom on Linux

Post by Talon1024 »

When I try to compile the latest version of GZDoom on Linux, I get this error when the compilation process reaches sdlglvideo.cpp:

Code: Select all

[ 31%] Building CXX object src/CMakeFiles/zdoom.dir/posix/sdl/sdlvideo.cpp.o
[ 31%] Building CXX object src/CMakeFiles/zdoom.dir/posix/sdl/sdlglvideo.cpp.o
/home/xxxxxx/Games/code/gzdoom/src/posix/sdl/sdlglvideo.cpp: In member function ‘void SDLGLFB::SwapBuffers()’:
/home/xxxxxx/Games/code/gzdoom/src/posix/sdl/sdlglvideo.cpp:463:6: error: ‘vid_maxfps’ was not declared in this scope
  if (vid_maxfps && !cl_capfps)
      ^
/home/xxxxxx/Games/code/gzdoom/src/posix/sdl/sdlglvideo.cpp:463:21: error: ‘cl_capfps’ was not declared in this scope
  if (vid_maxfps && !cl_capfps)
                     ^
src/CMakeFiles/zdoom.dir/build.make:400: recipe for target 'src/CMakeFiles/zdoom.dir/posix/sdl/sdlglvideo.cpp.o' failed
make[2]: *** [src/CMakeFiles/zdoom.dir/posix/sdl/sdlglvideo.cpp.o] Error 1
CMakeFiles/Makefile2:751: recipe for target 'src/CMakeFiles/zdoom.dir/all' failed
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
_mental_
Developer
Developer
Posts: 259
Joined: Sun Aug 07, 2011 13:36

Re: Cannot compile latest GZDoom on Linux

Post by _mental_ »

Duplicate of this report and should be fixed.
Talon1024

Re: Cannot compile latest GZDoom on Linux

Post by Talon1024 »

Yep, it's fixed now.
Locked

Return to “Closed Bugs”