Trying to compile GZDoom with Linux

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Costja
Posts: 59
Joined: Thu Sep 08, 2005 20:02
Contact:

Post by Costja »

If you asked me, of course you may do that. I can test them if you need a linux tester.
disturbedite
Posts: 34
Joined: Fri Jul 07, 2006 1:35
Location: 66 Exeter Street

Post by disturbedite »

w00t! finally! thanks!
User avatar
HeX_Vulture
Posts: 21
Joined: Sun May 06, 2007 3:59
Location: TeXas

Post by HeX_Vulture »

Here are some bugs I found:

-uses the same paths and config as zdoom (zdoom.ini) in /.zdoom - should be gzdoom.ini in /.gzdoom
-Does not recognize the /skins folder (zdoom doesn't either though, but it was fixed in Skulltag)
-Can't adjust brightness settings (such as gamma, so it appears very dark),although it does show up correctly in screenshots like the one below
-Some kind of HUD bug...
[spoiler]Image[/spoiler] but when you go to the main menu and exit out it updates back to normal.
-Crashes when I enter Windowed mode



Otherwise it runs sexcellent!

This is the first time I was able to run KDiZD in GL on an 8MB intel chipset shared with very little lag O_O. Something Windows GZDoom 1.0.24 can't do! Hopefully whatever changes you made to the source will also make the Windows GZDoom (well Skulltag) run smoother...it feels so weird that this crappy graphics card can run GZDoom but my bro's nVidia 6600 VE on Windows can't run some vanilla maps without luggin to less than 1fps...
Sparrowmelody
Posts: 3
Joined: Thu Sep 13, 2007 16:48

Post by Sparrowmelody »

Excellent. I have installed it on a Gentoo Linux build, with GCC 4.1.2, nVidia drivers (GeForce6100SM-M internal video chip) and kernel 2.6.22. Compiles and runs fine, with good performance.
As HeX_Vulture mentiones, it parasites the zdoom settings folder, overwriting the .ini file, but that is easily fixable.
Original Doom + Doom 2 maps run perfectly, although I tried The Ultimate Torment and Torture and there's a nasty glitch that makes it almost unplayable, as the lava background is visible all the time in outdoor areas, I don't know how to fix that, but then again I don't know if it's because of the SVN build or the Linux version...

EDIT: This seems to be related to skybox rendering. Can anyone try another map with skyboxes to see if they render OK?

Anyway, excellent job, you made gzdoom the ultimate doom port! Thank you very much and keep up the great work!
PS: Have you talked with the devs to include this code officially?
Last edited by Sparrowmelody on Thu Sep 13, 2007 17:54, edited 1 time in total.
User avatar
HeX_Vulture
Posts: 21
Joined: Sun May 06, 2007 3:59
Location: TeXas

Post by HeX_Vulture »

I'm sure Graf will put it in...no reason not to. :)
User avatar
KeksDose
Stronghold Team
Posts: 319
Joined: Thu Apr 12, 2007 21:35
Location: Germany

Post by KeksDose »

HeX_Vulture wrote: This is the first time I was able to run KDiZD in GL on an 8MB intel chipset shared with very little lag O_O. Something Windows GZDoom 1.0.24 can't do! Hopefully whatever changes you made to the source will also make the Windows GZDoom (well Skulltag) run smoother...it feels so weird that this crappy graphics card can run GZDoom but my bro's nVidia 6600 VE on Windows can't run some vanilla maps without luggin to less than 1fps...
Less lag? This is a must for the Windows version I would say!
Does this include actor movement, too? Because I heard the main reason for lagging in the Windows version of GZDoom is the actor movement! If this would remove those problems that would be pure awesomeness!
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Slowdowns are caused by various things:

As long as it is code related, no OS switch will help you. Code just can't magically run faster just because a different OS is being used and the compiler differences aren't that big.

Anyway, any 3D engine normally spends far more than 90% of its time rendering unless some extensive constructs are being used in the map (like your effects.) This just sounds like the Windows system was horrendously misconfigured and lost a lot of time in badly maintained drivers and stuff like that. It tends to happen when a lot of software gets installed and incompletely uninstalled. I tend to keep my system clean and thus don't have performance issues. My last Windows Installation lived 3 years and the only reason I had to buy a new computer was that the old one was just not good enough anymore to handle the things I need it for. But it still runs at the same speed as it was when it was newly installed.
Costja
Posts: 59
Joined: Thu Sep 08, 2005 20:02
Contact:

Post by Costja »

Updated [.tar.gz 417KB]: http://www.filetycoon.com/file/3333/GZD ... ar-gz.html [link updated, extract over original GZDoom source]

Changes:
binary is renamed to gzdoom
now stores its config in .gzdoom/gzdoom.ini and autoloads wads from ./gzdoom/skins
fixed the HUD bug
now loads GL extensions
nogl mode support
sdlglvideo code is now closer to the win32gliface code
now should compile and work on Windows [not tested]

I need ideas on fixing UTnT bug and implementing gamma control.
Sometimes I randomly get similar bug on Doom II MAP01. UTnT bug seems to have some relation to nodes as visual glitches appear/disappear on crossing line prolongations. Enabling smooth sprite edges makes sprites visible even in the glitch.
Spoiler: GL info
--
HeX_Vulture wrote:-Crashes when I enter Windowed mode
Not crashes for me. Could you compile it with "make DEBUG=1" command, repeat that crash with gzdoomd and post relevant zdoom-crash.log?

Sparrowmelody, same bug on UTnT for me. I don't know how to fix it, so I'd be glad to hear any ideas what to check
Last edited by Costja on Sun Sep 16, 2007 15:18, edited 1 time in total.
User avatar
HeX_Vulture
Posts: 21
Joined: Sun May 06, 2007 3:59
Location: TeXas

Post by HeX_Vulture »

How exactly am I supposed to compile this?

I figured I just extract the old source in a directory and then extract this patch over it to replace files, but when I try to compile it I get errors.
Costja
Posts: 59
Joined: Thu Sep 08, 2005 20:02
Contact:

Post by Costja »

I forgot about renamed files. r_render.cpp should be removed and probably other files in which you get errors.
Nevertheless, replacing files in original src dir (but not tools) should also work
User avatar
HeX_Vulture
Posts: 21
Joined: Sun May 06, 2007 3:59
Location: TeXas

Post by HeX_Vulture »

ehhh...there was no /tools file in that patch so it shouldn't replace anything anyway. I extracted everything over the original source and get errors...I think you need to check out your patch again :/ .
Costja
Posts: 59
Joined: Thu Sep 08, 2005 20:02
Contact:

Post by Costja »

Karate Chris
Posts: 34
Joined: Sun May 13, 2007 13:34

Post by Karate Chris »

It compiles except for one thing:

Code: Select all

win32gliface.cpp
c:\program files\microsoft visual studio 8\vc\include\intrin.h(388) : warning C4995: 'strcat': name was marked as #pragma deprecated
c:\program files\microsoft visual studio 8\vc\include\intrin.h(390) : warning C4995: 'strcpy': name was marked as #pragma deprecated
c:\program files\microsoft visual studio 8\vc\include\intrin.h(942) : warning C4995: 'wcscat': name was marked as #pragma deprecated
c:\program files\microsoft visual studio 8\vc\include\intrin.h(944) : warning C4995: 'wcscpy': name was marked as #pragma deprecated
c:\gzdoom\source\src\gl\win32gliface.cpp(634) : fatal error C1020: unexpected #endif
User avatar
HeX_Vulture
Posts: 21
Joined: Sun May 06, 2007 3:59
Location: TeXas

Post by HeX_Vulture »

I still get the same error in Ubuntu:

[spoiler]

Code: Select all

-Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/a_templar.o -c src/g_strife/a_templar.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/a_thingstoblowup.o -c src/g_strife/a_thingstoblowup.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/strife_sbar.o -c src/g_strife/strife_sbar.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/fmopl.o -c src/oplsynth/fmopl.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/mlkernel.o -c src/oplsynth/mlkernel.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/mlopl.o -c src/oplsynth/mlopl.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/mlopl_io.o -c src/oplsynth/mlopl_io.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/opl_mus_player.o -c src/oplsynth/opl_mus_player.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/altsound.o -c src/sound/altsound.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/altsoundmixer.o -c src/sound/altsoundmixer.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/fmodsound.o -c src/sound/fmodsound.cpp
src/sound/fmodsound.cpp: In member function ‘virtual void FMODSoundRenderer::UpdateListener(AActor*)’:
src/sound/fmodsound.cpp:940: warning: dereferencing type-punned pointer will break strict-aliasing rules
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/i_music.o -c src/sound/i_music.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/i_sound.o -c src/sound/i_sound.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_cd.o -c src/sound/music_cd.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_flac.o -c src/sound/music_flac.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_midi_midiout.o -c src/sound/music_midi_midiout.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_midi_stream.o -c src/sound/music_midi_stream.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_midi_timidity.o -c src/sound/music_midi_timidity.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_mod.o -c src/sound/music_mod.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_mus_midiout.o -c src/sound/music_mus_midiout.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_mus_opl.o -c src/sound/music_mus_opl.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_spc.o -c src/sound/music_spc.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/music_stream.o -c src/sound/music_stream.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/sample_flac.o -c src/sound/sample_flac.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_cmd.o -c src/fragglescript/t_cmd.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_fspic.o -c src/fragglescript/t_fspic.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_func.o -c src/fragglescript/t_func.cpp
In file included from src/gl/gl_data.h:7,
                 from src/fragglescript/t_func.cpp:61:
src/gl/gl_basic.h:102:7: warning: no newline at end of file
In file included from src/fragglescript/t_func.cpp:61:
src/gl/gl_data.h:14:7: warning: no newline at end of file
src/fragglescript/t_func.cpp: In function ‘const PClass* T_GetMobjType(svalue_t)’:
src/fragglescript/t_func.cpp:265: warning: comparison between signed and unsigned integer expressions
src/fragglescript/t_func.cpp: In function ‘void SF_MapThingNumExist()’:
src/fragglescript/t_func.cpp:3460: warning: comparison between signed and unsigned integer expressions
src/fragglescript/t_func.cpp: In function ‘void SF_ObjType()’:
src/fragglescript/t_func.cpp:3693: warning: comparison between signed and unsigned integer expressions
src/fragglescript/t_func.cpp: In function ‘void SF_ThingCount()’:
src/fragglescript/t_func.cpp:4059: warning: suggest parentheses around assignment used as truth value
src/fragglescript/t_func.cpp:4073: warning: suggest parentheses around assignment used as truth value
src/fragglescript/t_func.cpp: In function ‘void SF_KillInSector()’:
src/fragglescript/t_func.cpp:4199: warning: suggest parentheses around assignment used as truth value
src/fragglescript/t_func.cpp: In function ‘void init_functions()’:
src/fragglescript/t_func.cpp:4332: warning: comparison between signed and unsigned integer expressions
src/fragglescript/t_func.cpp: In function ‘void SF_SetLineTrigger()’:
src/fragglescript/t_func.cpp:4258: warning: ‘tag’ may be used uninitialized in this function
src/fragglescript/t_func.cpp: In function ‘void SF_ObjState()’:
src/fragglescript/t_func.cpp:3495: warning: ‘mo’ may be used uninitialized in this function
src/fragglescript/t_func.cpp:3494: warning: ‘state’ may be used uninitialized in this function
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_load.o -c src/fragglescript/t_load.cpp
src/fragglescript/t_load.cpp:338:2: warning: no newline at end of file
src/fragglescript/t_load.cpp:50: warning: non-local variable &#8216;<anonymous enum> readtype&#8217; uses anonymous type
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_oper.o -c src/fragglescript/t_oper.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_parse.o -c src/fragglescript/t_parse.cpp
src/fragglescript/t_parse.cpp:822:7: warning: no newline at end of file
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_prepro.o -c src/fragglescript/t_prepro.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_saveg.o -c src/fragglescript/t_saveg.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_script.o -c src/fragglescript/t_script.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_spec.o -c src/fragglescript/t_spec.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/t_vari.o -c src/fragglescript/t_vari.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/glstubs.o -c src/sdl/glstubs.cpp
In file included from src/gl/gltexture.h:8,
                 from src/sdl/../gl/gl_texture.h:5,
                 from src/sdl/glstubs.cpp:3:
src/gl/gl_values.h:111:7: warning: no newline at end of file
In file included from src/sdl/../gl/gl_texture.h:5,
                 from src/sdl/glstubs.cpp:3:
src/gl/gltexture.h:84:7: warning: no newline at end of file
In file included from src/sdl/glstubs.cpp:3:
src/sdl/../gl/gl_texture.h:233:7: warning: no newline at end of file
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/hardware.o -c src/sdl/hardware.cpp
In file included from src/gl/gltexture.h:8,
                 from src/gl/gl_texture.h:5,
                 from src/sdl/hardware.cpp:54:
src/gl/gl_values.h:111:7: warning: no newline at end of file
In file included from src/gl/gl_texture.h:5,
                 from src/sdl/hardware.cpp:54:
src/gl/gltexture.h:84:7: warning: no newline at end of file
In file included from src/sdl/hardware.cpp:54:
src/gl/gl_texture.h:233:7: warning: no newline at end of file
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/i_cd.o -c src/sdl/i_cd.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/i_input.o -c src/sdl/i_input.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/i_main.o -c src/sdl/i_main.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/i_movie.o -c src/sdl/i_movie.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/i_system.o -c src/sdl/i_system.cpp
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/sdlglvideo.o -c src/sdl/sdlglvideo.cpp
In file included from src/sdl/sdlglvideo.cpp:16:
src/sdl/../gl/gl_values.h:111:7: warning: no newline at end of file
In file included from src/sdl/../gl/gl_struct.h:7,
                 from src/sdl/sdlglvideo.cpp:21:
src/sdl/../gl/gl_values.h:111:7: warning: no newline at end of file
In file included from src/sdl/sdlglvideo.cpp:21:
src/sdl/../gl/gl_struct.h:149:7: warning: no newline at end of file
In file included from src/sdl/sdlglvideo.cpp:22:
src/gl/gl_basic.h:102:7: warning: no newline at end of file
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer `pkg-config gtk+-2.0 --cflags` -DHAVE_FILELENGTH -D__forceinline=inline -Izlib -IFLAC `sdl-config --cflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -D__cdecl=/**/ -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/fragglescript/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -DUSEASM=1 -DNDEBUG -o releaseobj/sdlvideo.o -c src/sdl/sdlvideo.cpp
In file included from src/sdl/sdlvideo.cpp:14:
src/sdl/../gl/gl_values.h:111:7: warning: no newline at end of file
In file included from src/sdl/../gl/gl_struct.h:7,
                 from src/sdl/sdlvideo.cpp:19:
src/sdl/../gl/gl_values.h:111:7: warning: no newline at end of file
In file included from src/sdl/sdlvideo.cpp:19:
src/sdl/../gl/gl_struct.h:149:7: warning: no newline at end of file
In file included from src/sdl/sdlvideo.cpp:20:
src/gl/gl_basic.h:102:7: warning: no newline at end of file
src/sdl/sdlvideo.cpp: In destructor &#8216;virtual SDLFB::~SDLFB()&#8217;:
src/sdl/sdlvideo.cpp:352: error: &#8216;struct RenderContext&#8217; has no member named &#8216;Shutdown&#8217;
make[1]: *** [releaseobj/sdlvideo.o] Error 1
make[1]: Leaving directory `/home/vulture/gzdoom'
make: *** [deps] Error 2
[/spoiler]

I just extracted the original source and your second patch/folders into the same directory as GZDoom. What else did I need to do?
Costja
Posts: 59
Joined: Thu Sep 08, 2005 20:02
Contact:

Post by Costja »

HeX_Vulture, your src/sdl/sdlvideo.cpp is still from one of the previous patches. Did you try http://www.filetycoon.com/file/3333/GZD ... ar-gz.html files (it's actually the third archive)?

Karate Chris, it seems that the compiler doesn't support nested #if directives. I'll try to exclude that code without nesting.
UPD: fixed fragment in win32gliface.cpp:
Replace the #ifdef block on lines 310-312 with

Code: Select all

#endif

#if defined(_MSC_VER) && !defined(unix)

		gl.PrintStartupLog(DoPrintText);

#endif
#ifndef unix
Locked

Return to “GZDoom”