DFMOD_LIBRARY=/path/to/libfmodex(64)-x.y.z.There are few common issues with the ZDoom Package. If you want to free up space, run make clean to remove the files generated by the compilation.Ĭmake. To exit gdb's command prompt, type quit, q or press Ctrl-D: Typing in the command backtrace or bt will produce information telling the last function calls, showing how execution got to the point where it crashed:Īll output will be copied into the gzdoomdebug.log, which can then be scrutinized later, or perhaps posted to the Bugs forum for other developers to look at. If GZDoom crashes, gdb may be able to tell you the source file and line number it crashed in. Or put any command line parameters to gzdoom after run: Now start GZDoom by typing in run, and pressing enter: You probably want to log the output, so lets output to a file gzdoomdebug.log: Now gdb should have you in its own command prompt: To run GZDoom under a debugger such as gdb, use the following command: Optionally, you may want to use some of the #Build options.Īfter CMake is done, run make or to speed up compilation, run make -j, a recommended value for the -j option is the number of physical cores: Inside the build directory, invoke CMake to set up for compiling, but this time, the build type is set to Debug: First, you need to compile a debug build of GZDoom. Maybe you have found a way to make GZDoom crash, and are interested in debugging it. This section is intended for more advanced users who may be unfamiliar to CMake or debugging on Linux systems. This page has helped you compile GZDoom, but perhaps you are interested in debugging the code or submitting code changes or fixes for inclusion. Remove /usr/games/gzdoom-alpha directory and all its files: Remove /usr/games/gzdoom directory and all its files: Now from a terminal you should be able to run gzdoom or gzdoom-alpha from any user account. # The following command is for GZDoom 2.x or older versionsĮxport LD_LIBRARY_PATH=/usr/games/gzdoom$dĮxec /usr/games/gzdoom$d/gzdoom > gzdoom$d.sh & Sudo cp -rv gzdoom gzdoom.pk3 lights.pk3 brightmaps.pk3 game_widescreen_gfx.pk3 $p soundfonts fm_banks $l \ If then p=game_support.pk3 else p=zd_extra.pk3 fi & Mesa-libGL-devel tar SDL-devel glew-devel Libmpg123-devel libsndfile-devel gtk3-devel timidity++ nasm \ Libjpeg-turbo-devel fluidsynth-devel game-music-emu-devel openal-soft-devel \ Libgl1-mesa-dev tar libsdl1.2-dev libglew-devįedora dnf install gcc-c++ make cmake SDL2-devel git zlib-devel bzip2-devel \ Libmpg123-dev libsndfile1-dev libgtk-3-dev timidity nasm \ Libbz2-dev libjpeg-dev libfluidsynth-dev libgme-dev libopenal-dev \ In addition to or instead of FMOD, OpenAL can be used for sound in which case the following are required:ĭebian/Ubuntu sudo apt-get install g++ make cmake libsdl2-dev git zlib1g-dev \ fluidsynth (optional - for MIDI playback).gxmessage (optional - needed to show the crash log in a window).FMOD Ex 4.36.x or later or FMOD Studio (for GZDoom 1.x and 2.x).SDL 1.2.8 or later 1.2.x versions (for GZDoom 1.x).libgme or game-music-emu (possibly static).zlib (GZDoom has a copy of it and will be statically compiled in if not found).git (needed in order to download the source and compile in commit meta data).libGL and libGLU (SDL or libSDL pull in libGLU) or any other GL implementation provider.GZDoom needs certain tools and development files in order to compile: It will also have problems with more recent actively maintained mods. Keep in mind that this version is several years old and no longer maintained. You will have to use #GZDoom 1.8.6 instead. The minimum requirement for GZDoom 2.2 and later is OpenGL 2.0, so if you get the following error:Īt least OpenGL 2.0 is required to run GZDoom. Git show c219811a542e0d6aae38b920ae9e257c5c2286c1Ĭonsider GZDoom as licensed under the GPL, therefore the following is unnecessary but will be keep in this tutorial for the users who still need to use GZDoom 2.x or older versions: #Download FMOD, liboutput_sdl.so, the FMOD library file, the environment variable LD_LIBRARY_PATH and the CMake variables NO_FMOD, FMOD_LIBRARY and FMOD_INCLUDE_DIR. 12.2 Disable Vertical Synchronization for Zandronum/GZDoom.12.1 Enable SandyBridge's New Acceleration.12 How to increase Zandronum/GZDoom OpenGL FPS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |