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 \
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |