Trying to compile GZDoom with Linux
Moderator: Graf Zahl
-
- Posts: 59
- Joined: Thu Sep 08, 2005 20:02
- Contact:
-
- Posts: 59
- Joined: Thu Sep 08, 2005 20:02
- Contact:
Patch for r97 attached.
Graf Zahl, src/gl/gl_models_md2.cpp problem seems to be also a bug in Windows version. I hope my fix is correct.
Making makefile closer to zdoom's version is not needed?
chmmr,
UPDATED: the following works for me (trunk is a dir that contains src/ dir):
Graf Zahl, src/gl/gl_models_md2.cpp problem seems to be also a bug in Windows version. I hope my fix is correct.
Making makefile closer to zdoom's version is not needed?
chmmr,
UPDATED: the following works for me (trunk is a dir that contains src/ dir):
Code: Select all
cd <path to gzdoom r96 source>/trunk
patch -p0 < <path to the patch for r92>
- Attachments
-
- patch_r97.dif.zip
- Patch for r97
- (1.21 KiB) Downloaded 202 times
-
- Posts: 59
- Joined: Thu Sep 08, 2005 20:02
- Contact:
Patches for r102:
- experimental patch. It should fix nearly all warnings and includes Makefile.linux patch described below. But as it includes a lot of changes it should be rechecked. I'm least sure about the following:
gl/gl_dynlight.cpp:1197
gl/gl_models.cpp:430
gl/gl_missingtexture.cpp:107
gl/gl_missingtexture.cpp:168
fragglescript/t_oper.cpp:84 - Makefile.linux patch, fixes only Makefile.linux. It enables making Brightmaps and lights pk3s and fixes xlat errors.
- Attachments
-
- patch_r102.dif.zip
- Experimental patch for r102 which fixes nearly all warnings
- (8.03 KiB) Downloaded 191 times
-
- patch_r102_makefile.dif.zip
- r102 Makefile.linux only patch
- (1.19 KiB) Downloaded 198 times
-
- Posts: 59
- Joined: Thu Sep 08, 2005 20:02
- Contact:
Patch for r110:
It's a newer version of the experimental patch. My lite patch (only Makefile.linux and p_map.cpp fixes) makes gzdoom crash on starting MAP01 so it can't be used. Makefile is fixed so updaterev is now called once.
ADDED: This patch is broken, use the patch in the post below. The patch in this post is still here only to provide ability revert changes.
It's a newer version of the experimental patch. My lite patch (only Makefile.linux and p_map.cpp fixes) makes gzdoom crash on starting MAP01 so it can't be used. Makefile is fixed so updaterev is now called once.
ADDED: This patch is broken, use the patch in the post below. The patch in this post is still here only to provide ability revert changes.
- Attachments
-
- patch_r110.dif.zip
- Do NOT use this patch, it is broken. This file is here only for reverting changes (by "patch -p0 -R oldpatch")
- (7.94 KiB) Downloaded 185 times
Last edited by Costja on Mon Jun 02, 2008 13:58, edited 2 times in total.
- GuntherDW
- Posts: 117
- Joined: Sat Nov 12, 2005 1:53
- Location: Belgium, Antwerp
- Contact:
Costja, check http://forum.drdteam.org/viewtopic.php?t=3277
does this happen for you as well?
also, i've been having this problem for a while now, even before the SVN versions came into play
it seems that certain sectors can make gzdoom slow down to a crawl, and even hang my pc for a couple of seconds
it doesn't happen when i look away from it, but when it's in the render range it renders fine for 0.5 secs and then hangs again for a couple of seconds
i'll post a screen to "fortify" my problem, it's one of the easiest to find places in kdizd (but it happens alot in other wads as well, most of the time it's a sector with 3D sectors attached)
does this happen for you as well?
also, i've been having this problem for a while now, even before the SVN versions came into play
it seems that certain sectors can make gzdoom slow down to a crawl, and even hang my pc for a couple of seconds
it doesn't happen when i look away from it, but when it's in the render range it renders fine for 0.5 secs and then hangs again for a couple of seconds
i'll post a screen to "fortify" my problem, it's one of the easiest to find places in kdizd (but it happens alot in other wads as well, most of the time it's a sector with 3D sectors attached)
- GuntherDW
- Posts: 117
- Joined: Sat Nov 12, 2005 1:53
- Location: Belgium, Antwerp
- Contact:
kdizd map z1m3
issue "warp -325 810" in the console, and look at the ladder going upwards
seeing as this is not an easy not to crack (i'm not a good explainer :p), i would even like to show the problem using an external cam to film it while it happens
(i think it won't be easy to do it on the same pc because even XMMS stops playing, just about everything *stops* for about 3-5 secs (and yes it's gzdoom, zdoom didn't have this problem, and it only happens when i'm playing with gzdoom and it's rendering those sectors :p
EDIT:
vid is up : http://guntherdw.dommel.be/tmp/tv.enc2.avi
sorry for the horrid quality, had to do it with a webcam of horrid quality
but you can see what's going on
this is with a clean boot with nothing going on besides gzdoom (and my other pc in my room capturing it)
issue "warp -325 810" in the console, and look at the ladder going upwards
seeing as this is not an easy not to crack (i'm not a good explainer :p), i would even like to show the problem using an external cam to film it while it happens
(i think it won't be easy to do it on the same pc because even XMMS stops playing, just about everything *stops* for about 3-5 secs (and yes it's gzdoom, zdoom didn't have this problem, and it only happens when i'm playing with gzdoom and it's rendering those sectors :p
EDIT:
vid is up : http://guntherdw.dommel.be/tmp/tv.enc2.avi
sorry for the horrid quality, had to do it with a webcam of horrid quality

but you can see what's going on
this is with a clean boot with nothing going on besides gzdoom (and my other pc in my room capturing it)
- GuntherDW
- Posts: 117
- Joined: Sat Nov 12, 2005 1:53
- Location: Belgium, Antwerp
- Contact:
-
- Posts: 59
- Joined: Thu Sep 08, 2005 20:02
- Contact:
Fixed r110 patch. Use the following to undo the previous patch:
ADDED: I experience slowdown to 12 fps near that ladder, but not freezing image to about 0-1 fps. BTW, I use full fixed patch for r110.
Code: Select all
patch -p0 -R < oldpatch_110.dif
- Attachments
-
- patch_r110.dif.zip
- Fixed patch for r110
- (7.52 KiB) Downloaded 200 times
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
-
- Posts: 59
- Joined: Thu Sep 08, 2005 20:02
- Contact:
Got an error:
"__asm nop" is not compatible with gcc, so probably it should be removed/ifndef-ed.
Warnings:
src/namedef.h:370:16: warning: no newline at end of file
and few "comparison between signed and unsigned integer expressions" warnings
Code: Select all
src/gl/gl_walls.cpp: In member function ‘void GLWall::DoMidTexture(seg_t*, bool, sector_t*, sector_t*, fixed_t, fixed_t, fixed_t, fixed_t, fixed_t, fixed_t, fixed_t, fixed_t)’:
src/gl/gl_walls.cpp:900: error: ‘WALLF_ADDTRANS’ was not declared in this scope
src/gl/gl_walls.cpp:908: error: ‘WALLF_ADDTRANS’ cannot appear in a constant-expression
Warnings:
src/namedef.h:370:16: warning: no newline at end of file
and few "comparison between signed and unsigned integer expressions" warnings
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
-
- Posts: 59
- Joined: Thu Sep 08, 2005 20:02
- Contact:
Yet another error after updating:
Code: Select all
releaseobj/gl_dynlight.o: In function `gl_InitializeActorLights()':
gl_dynlight.cpp:(.text+0x31d): undefined reference to `ADehackedPickup::States'
gl_dynlight.cpp:(.text+0x32f): undefined reference to `DehackedPickups'