gzdoom git revision 2f893af linux compile error : vid_maxfps and cl_capfps not declared in this scope [FIXED]

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
delacroix
Posts: 2
Joined: Wed Aug 24, 2016 9:52

gzdoom git revision 2f893af linux compile error : vid_maxfps and cl_capfps not declared in this scope [FIXED]

Post by delacroix »

Compiling revision 2f893af of git gzdoom gives me the following errors:

[ 31%] Building CXX object src/CMakeFiles/zdoom.dir/oplsynth/fmopl.cpp.o
/home/chris/sources/gzdoom/src/posix/sdl/sdlglvideo.cpp: In member function 'void SDLGLFB::SwapBuffers()':
/home/chris/sources/gzdoom/src/posix/sdl/sdlglvideo.cpp:463:6: error: 'vid_maxfps' was not declared in this scope
if (vid_maxfps && !cl_capfps)
^
/home/chris/sources/gzdoom/src/posix/sdl/sdlglvideo.cpp:463:21: error: 'cl_capfps' was not declared in this scope
if (vid_maxfps && !cl_capfps)
^
[ 31%] Building CXX object src/CMakeFiles/zdoom.dir/oplsynth/mlopl.cpp.o
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
make[2]: *** Waiting for unfinished jobs....
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

I read on the github site that those files were changed recently, so i guess they are easy to fix
Last edited by delacroix on Wed Aug 24, 2016 14:53, edited 1 time in total.
_mental_
Developer
Developer
Posts: 259
Joined: Sun Aug 07, 2011 13:36

Re: gzdoom git revision 2f893af linux compile error : vid_maxfps and cl_capfps not declared in this scope

Post by _mental_ »

I can't test at the moment but it should be fixed.
dpJudas
Developer
Developer
Posts: 798
Joined: Sat Jul 23, 2016 7:53

Re: gzdoom git revision 2f893af linux compile error : vid_maxfps and cl_capfps not declared in this scope [FIXED]

Post by dpJudas »

Sorry about the Linux compile errors. I added the feature from Windows where I can't compile the Linux version - hope that's alright.
Locked

Return to “Closed Bugs”