Breeder Posted December 6, 2016 Using Mint 64 Sarah Mate Version. When I follow the guide and begin to compile I end up with this: [ 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/xd3l/gzdoom_build/gzdoom/src/posix/sdl/sdlglvideo.cpp:32:35: error: expected identifier before ‘false’ IMPLEMENT_ABSTRACT_CLASS(SDLGLFB, false, false, false, false) ^ /home/xd3l/gzdoom_build/gzdoom/src/posix/sdl/sdlglvideo.cpp:32:35: error: expected ‘,’ or ‘...’ before ‘false’ /home/xd3l/gzdoom_build/gzdoom/src/posix/sdl/sdlglvideo.cpp:34:1: error: expected constructor, destructor, or type conversion before ‘struct’ struct MiniModeInfo ^ /home/xd3l/gzdoom_build/gzdoom/src/posix/sdl/sdlglvideo.cpp:65:8: error: ‘MiniModeInfo’ does not name a type static MiniModeInfo WinModes[] = ^ /home/xd3l/gzdoom_build/gzdoom/src/posix/sdl/sdlglvideo.cpp: In member function ‘virtual bool SDLGLVideo::NextMode(int*, int*, bool*)’: /home/xd3l/gzdoom_build/gzdoom/src/posix/sdl/sdlglvideo.cpp:156:38: error: ‘WinModes’ was not declared in this scope if ((unsigned)IteratorMode < sizeof(WinModes)/sizeof(WinModes[0])) ^ 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:788: recipe for target 'src/CMakeFiles/zdoom.dir/all' failed make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 0 Share this post Link to post
Graf Zahl Posted December 6, 2016 That file contained a definition error. The change was part of a code submission that apparently never was tested on Linux. Should be fixed now. 0 Share this post Link to post
Breeder Posted December 7, 2016 Graf Zahl said:That file contained a definition error. The change was part of a code submission that apparently never was tested on Linux. Should be fixed now. I just re-downloaded the source and compiled, but am still getting the error. 0 Share this post Link to post
Rachael Posted December 7, 2016 Try changing the line at (src/posix/sdl/sdlglvideo.cpp:32) to: IMPLEMENT_CLASS(SDLGLFB, true, false) Do you still get the error? 0 Share this post Link to post
Breeder Posted December 8, 2016 I ended up updating my system, doing a reboot then trying again. Worked like a charm the second time without altering any of the files on my end. 0 Share this post Link to post
Rachael Posted December 8, 2016 Probably because the change was already made into the base source tree. :) 0 Share this post Link to post
Breeder Posted December 8, 2016 Maybe I just re-tried to early last time? Dunno, but I'm happy now! :) 0 Share this post Link to post
Breeder Posted December 8, 2016 Just tried it on a fresh Linux install and it still worked! Thanks for fixing this!! I notice though on one of my computers that the left mouse button only works sometimes. Yet in everything else, including the Linux Desktop, it responds just fine. Running Alpha btw. 0 Share this post Link to post