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

User avatar
GuntherDW
Posts: 117
Joined: Sat Nov 12, 2005 1:53
Location: Belgium, Antwerp
Contact:

Post by GuntherDW »

will do, and this time please use it correctly ^^
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

For that you have to make it correctly!
:P
User avatar
GuntherDW
Posts: 117
Joined: Sat Nov 12, 2005 1:53
Location: Belgium, Antwerp
Contact:

Post by GuntherDW »

what am i doing wrong then? :P

i'm patching r11 as we speak :)

edit: r11 seems to compile almost perfectly, i'll check it up to see if anything is broken and try to fix it

the first thing i want to fix though is the window title, it seems to have no window title, so if you're playing in a window it can be quite annoying :p
but that's quite easy

hmm, it seems the problem does not lie with SDL,
when i tell it to get the WM Caption it show me the correct values & address

t: 0x8476058 - GZDOOM 1.0.32 - 2.1.7xx (r723) (Jan 29 2008)


edit: it might just as well be my SDL version, the other versions are displaying it correctly as well as other SDL apps :s
MP2E
Posts: 13
Joined: Wed Jan 23, 2008 17:03

Post by MP2E »

Thanks for this, but are we going to see a patch for GZDoom 1.10 soon? I want to use it on my linux machine... >_>
User avatar
GuntherDW
Posts: 117
Joined: Sat Nov 12, 2005 1:53
Location: Belgium, Antwerp
Contact:

Post by GuntherDW »

all i had to do for the svn was create a couple of .h files to make it compile correctly under linux but 1.1.0 compiles just fine under linux (with all those warnings still there though :p)
the only bug i haven't been able to squish (but haven't really spent much time on it since i usually play fullscreen) is the window title bug, which actually suprises me because the other versions had the exact same code for the window title and those work (and still do when i compile them :| )

could you tell me which errors you are getting and which compiler you are using + versions?
(preferably the full log in [spoiler ] tags)
stevenaaus
Posts: 35
Joined: Fri Sep 21, 2007 2:09
Location: Australia
Contact:

Binary

Post by stevenaaus »

User avatar
Syfo-Dyas
Posts: 182
Joined: Sun Oct 09, 2005 21:54
Location: Ohio
Contact:

Post by Syfo-Dyas »

Too bad I'm not running Linux, I'd like to try that! :)

I hope some day to see decent GFX card support in BeOS/Haiku

(see starwarslegacy.net for more info)

so perhaps some day we may also see my favorite DOOM port on my favorite OS...

...well seeing it run on Amiga OS 4, AROS, or MorphOS would be pretty wild too! :)
User avatar
GuntherDW
Posts: 117
Joined: Sat Nov 12, 2005 1:53
Location: Belgium, Antwerp
Contact:

Post by GuntherDW »

XDelusion wrote:Too bad I'm not running Linux, I'd like to try that! :)

I hope some day to see decent GFX card support in BeOS/Haiku

(see starwarslegacy.net for more info)

so perhaps some day we may also see my favorite DOOM port on my favorite OS...

...well seeing it run on Amiga OS 4, AROS, or MorphOS would be pretty wild too! :)
it was tough enough already to get it to compile in linux, and now you're asking for a BeOS port? :P

but now that linux is "out of the way", BeOS should only be a small step, no?
at least if it supports good OpenGL code etc :p
User avatar
GuntherDW
Posts: 117
Joined: Sat Nov 12, 2005 1:53
Location: Belgium, Antwerp
Contact:

Post by GuntherDW »

well, i finally managed to get r60 to compile, after a few quirks :p

i'm creating a .patch as usual, but i'll need graf to look on some issues before it actually goes live :)

(damn the SVN server is kind of slow atm, takes live forever to get a reply & get one file)

well, i'll first goto school, and then create the patch, diff is being a bitch atm :(
User avatar
GuntherDW
Posts: 117
Joined: Sat Nov 12, 2005 1:53
Location: Belgium, Antwerp
Contact:

Post by GuntherDW »

kay, i finally managed to get a somewhat decent r61 patch, which also allows linux users to automatically make the snes_spc thing and include it with the binary
the fmodex header files should be in /usr/include/fmodex

but graf, could you check on a couple errors i got in the patch files?
(for ex :

Code: Select all

-	TArray<TObjPtr<AActor>> SpawnedThings;
+	TArray< TObjPtr<AActor> > SpawnedThings;
and

Code: Select all

-	AActor *mo = t_argc ? actorvalue(t_argv[0]) : Script->trigger;
+	// AActor *mo = t_argc ? actorvalue(t_argv[0]) : Script->trigger;
+	AActor *mo;
+	
+	if(t_argc)
+	{
+		mo = actorvalue(t_argv[0]);
+	}
+	else
+	{
+		mo =  Script->trigger;
+	}
)
(i also had to dos2unix some files to make them compile correctly :x )

i also find this error a bit strange, the zdoom code compiles just fine, wheras the gzdoom code fails, but i'll have to check into this a bit further
(in src/sdl/hardware.cpp)

Code: Select all

	/* val.Bool = !!Args.CheckParm ("-devparm");
	ticker.SetGenericRepDefault (val, CVAR_Bool); */
	/* error was : 
Compiling hardware.cpp:                                               [ERROR]  
cc -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DHAVE_FILELENGTH -D__forceinline=inline -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DNEED_STRUPR -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -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/thingdef/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -I/usr/include/fmodex/ -DUSEASM=1 -DNDEBUG -o releaseobj/hardware.o -c src/sdl/hardware.cpp
================================================================================src/sdl/hardware.cpp: In function &#8216;void I_InitGraphics()&#8217;:
src/sdl/hardware.cpp:155: error: request for member &#8216;CheckParm&#8217; in &#8216;Args&#8217;, which is of non-class type &#8216;DArgs*&#8217;
make[1]: *** [releaseobj/hardware.o] Error 1
make[1]: Leaving directory `/GuntherDW/src/svn/gzdoom'
make: *** [deps] Error 2
*/


edit: fmodex doesn't seem to like my system, gzdoom only wants to start when i issue "-nomusic" at the command line :x
but this also happens with the later zdoom builds so it's not gzdoom related
Attachments
gzdoom.r61.linux.patch.gz
(17.28 KiB) Downloaded 112 times
User avatar
GuntherDW
Posts: 117
Joined: Sat Nov 12, 2005 1:53
Location: Belgium, Antwerp
Contact:

Post by GuntherDW »

hmm, now that i've updated my FMODex to 4.13.05 i get this compile error :x
(plus i had to edit the Makefile.linux again to point to the new location, screw distribution packages and hello official releases :p)

Code: Select all

src/sound/fmodsound.cpp: In member function &#8216;virtual bool FMODStreamCapsule::Play(bool, float, bool)&#8217;:
src/sound/fmodsound.cpp:296: error: no matching function for call to &#8216;FMOD::Channel::addDSP(FMOD::DSP*&)&#8217;
/usr/local/include/fmodex/fmod.hpp:317: note: candidates are: FMOD_RESULT FMOD::Channel::addDSP(FMOD::DSP*, FMOD::DSPConnection**)
src/sound/fmodsound.cpp: In static member function &#8216;static FMOD_RESULT FMODStreamCapsule::PCMReadCallback(FMOD_SOUND*, void*, unsigned int)&#8217;:
src/sound/fmodsound.cpp:367: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/sound/fmodsound.cpp: In member function &#8216;bool FMODSoundRenderer::Init()&#8217;:
src/sound/fmodsound.cpp:536: error: &#8216;FMOD_INIT_ENABLE_DSPNET&#8217; was not declared in this scope
src/sound/fmodsound.cpp: In member function &#8216;virtual void FMODSoundRenderer::UpdateListener(AActor*)&#8217;:
src/sound/fmodsound.cpp:1097: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[1]: *** [releaseobj/fmodsound.o] Error 1
make[1]: Leaving directory `/GuntherDW/src/svn/gzdoomtmp'
make: *** [deps] Error 2
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Argh! They changed their interface again. Grrrrr......
User avatar
Syfo-Dyas
Posts: 182
Joined: Sun Oct 09, 2005 21:54
Location: Ohio
Contact:

Post by Syfo-Dyas »

Not asking for a port, just hoping some day when Haiku is more developed and has better NVIDIA driver that someone will take interest in a port.

There is already OpenGl for BeOS/Haiku, or what ever.

http://www.haiku-os.org/about/teams/opengl_game
User avatar
GuntherDW
Posts: 117
Joined: Sat Nov 12, 2005 1:53
Location: Belgium, Antwerp
Contact:

Post by GuntherDW »

graf, what were you thinking when you uploaded r62? :p

the patch i made for r60 still works on this version, but the compile fails on a different file now

[spoiler]

Code: Select all

Compiling sbarinfo_parser.cpp:                                        [OK]     
Compiling sbarinfo_display.cpp:                                       [OK]     
Compiling sbarinfo.cpp:                                               [OK]     
Compiling p_acs.cpp:                                                  [OK]     
Compiling g_level.cpp:                                                [OK]     
Compiling d_main.cpp:                                                 [OK]     
src/svnrevision_gz.h is up to date at revision 62M.
make[1]: Entering directory `/GuntherDW/src/svn/gzdoom.r62'
src/svnrevision_gz.h is up to date at revision 62M.
Compiling d_main.cpp:                                                 [OK]     
Compiling g_level.cpp:                                                [OK]     
Compiling p_acs.cpp:                                                  [OK]     
Compiling sbarinfo.cpp:                                               [ERROR]  
g++ -c -pipe -Wall -Wno-unused -O2 -fomit-frame-pointer -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DHAVE_FILELENGTH -D__forceinline=inline -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DNEED_STRUPR -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -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/thingdef/ -Isrc/Linux/ -Isrc/sdl/ -Isrc/gl/ -Isrc/gl/r_render/ -Isrc/textures/ -I/usr/local/include/fmodex/ -Isnes_spc/snes_spc -DUSEASM=1 -DNDEBUG -o releaseobj/sbarinfo.o -c src/g_shared/sbarinfo.cpp
================================================================================src/g_shared/sbarinfo.cpp:39: error: conflicting declaration &#8216;STATUSBARFLAG_FORCESCALED&#8217;
src/g_shared/sbarinfo.h:121: error: &#8216;STATUSBARFLAG_FORCESCALED&#8217; has a previous declaration as &#8216;<anonymous enum> STATUSBARFLAG_FORCESCALED&#8217;
src/g_shared/sbarinfo.cpp:44: error: conflicting declaration &#8216;GAMETYPE_SINGLEPLAYER&#8217;
src/g_shared/sbarinfo.h:126: error: &#8216;GAMETYPE_SINGLEPLAYER&#8217; has a previous declaration as &#8216;<anonymous enum> GAMETYPE_SINGLEPLAYER&#8217;
src/g_shared/sbarinfo.cpp:45: error: conflicting declaration &#8216;GAMETYPE_COOPERATIVE&#8217;
src/g_shared/sbarinfo.h:127: error: &#8216;GAMETYPE_COOPERATIVE&#8217; has a previous declaration as &#8216;<anonymous enum> GAMETYPE_COOPERATIVE&#8217;
src/g_shared/sbarinfo.cpp:46: error: conflicting declaration &#8216;GAMETYPE_DEATHMATCH&#8217;
src/g_shared/sbarinfo.h:128: error: &#8216;GAMETYPE_DEATHMATCH&#8217; has a previous declaration as &#8216;<anonymous enum> GAMETYPE_DEATHMATCH&#8217;
src/g_shared/sbarinfo.cpp:47: error: conflicting declaration &#8216;GAMETYPE_TEAMGAME&#8217;
src/g_shared/sbarinfo.h:129: error: &#8216;GAMETYPE_TEAMGAME&#8217; has a previous declaration as &#8216;<anonymous enum> GAMETYPE_TEAMGAME&#8217;
src/g_shared/sbarinfo.cpp:52: error: conflicting declaration &#8216;DRAWIMAGE_PLAYERICON&#8217;
src/g_shared/sbarinfo.h:134: error: &#8216;DRAWIMAGE_PLAYERICON&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWIMAGE_PLAYERICON&#8217;
src/g_shared/sbarinfo.cpp:53: error: conflicting declaration &#8216;DRAWIMAGE_AMMO1&#8217;
src/g_shared/sbarinfo.h:135: error: &#8216;DRAWIMAGE_AMMO1&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWIMAGE_AMMO1&#8217;
src/g_shared/sbarinfo.cpp:54: error: conflicting declaration &#8216;DRAWIMAGE_AMMO2&#8217;
src/g_shared/sbarinfo.h:136: error: &#8216;DRAWIMAGE_AMMO2&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWIMAGE_AMMO2&#8217;
src/g_shared/sbarinfo.cpp:55: error: conflicting declaration &#8216;DRAWIMAGE_INVENTORYICON&#8217;
src/g_shared/sbarinfo.h:137: error: &#8216;DRAWIMAGE_INVENTORYICON&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWIMAGE_INVENTORYICON&#8217;
src/g_shared/sbarinfo.cpp:56: error: conflicting declaration &#8216;DRAWIMAGE_TRANSLATABLE&#8217;
src/g_shared/sbarinfo.h:138: error: &#8216;DRAWIMAGE_TRANSLATABLE&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWIMAGE_TRANSLATABLE&#8217;
src/g_shared/sbarinfo.cpp:57: error: conflicting declaration &#8216;DRAWIMAGE_WEAPONSLOT&#8217;
src/g_shared/sbarinfo.h:139: error: &#8216;DRAWIMAGE_WEAPONSLOT&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWIMAGE_WEAPONSLOT&#8217;
src/g_shared/sbarinfo.cpp:58: error: conflicting declaration &#8216;DRAWIMAGE_SWITCHABLE_AND&#8217;
src/g_shared/sbarinfo.h:140: error: &#8216;DRAWIMAGE_SWITCHABLE_AND&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWIMAGE_SWITCHABLE_AND&#8217;
src/g_shared/sbarinfo.cpp:59: error: conflicting declaration &#8216;DRAWIMAGE_INVULNERABILITY&#8217;
src/g_shared/sbarinfo.h:141: error: &#8216;DRAWIMAGE_INVULNERABILITY&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWIMAGE_INVULNERABILITY&#8217;
src/g_shared/sbarinfo.cpp:60: error: conflicting declaration &#8216;DRAWIMAGE_OFFSET_CENTER&#8217;
src/g_shared/sbarinfo.h:142: error: &#8216;DRAWIMAGE_OFFSET_CENTER&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWIMAGE_OFFSET_CENTER&#8217;
src/g_shared/sbarinfo.cpp:61: error: conflicting declaration &#8216;DRAWIMAGE_ARMOR&#8217;
src/g_shared/sbarinfo.h:143: error: &#8216;DRAWIMAGE_ARMOR&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWIMAGE_ARMOR&#8217;
src/g_shared/sbarinfo.cpp:62: error: conflicting declaration &#8216;DRAWIMAGE_WEAPONICON&#8217;
src/g_shared/sbarinfo.h:144: error: &#8216;DRAWIMAGE_WEAPONICON&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWIMAGE_WEAPONICON&#8217;
src/g_shared/sbarinfo.cpp:67: error: conflicting declaration &#8216;DRAWNUMBER_HEALTH&#8217;
src/g_shared/sbarinfo.h:149: error: &#8216;DRAWNUMBER_HEALTH&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWNUMBER_HEALTH&#8217;
src/g_shared/sbarinfo.cpp:68: error: conflicting declaration &#8216;DRAWNUMBER_ARMOR&#8217;
src/g_shared/sbarinfo.h:150: error: &#8216;DRAWNUMBER_ARMOR&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWNUMBER_ARMOR&#8217;
src/g_shared/sbarinfo.cpp:69: error: conflicting declaration &#8216;DRAWNUMBER_AMMO1&#8217;
src/g_shared/sbarinfo.h:151: error: &#8216;DRAWNUMBER_AMMO1&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWNUMBER_AMMO1&#8217;
src/g_shared/sbarinfo.cpp:70: error: conflicting declaration &#8216;DRAWNUMBER_AMMO2&#8217;
src/g_shared/sbarinfo.h:152: error: &#8216;DRAWNUMBER_AMMO2&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWNUMBER_AMMO2&#8217;
src/g_shared/sbarinfo.cpp:71: error: conflicting declaration &#8216;DRAWNUMBER_AMMO&#8217;
src/g_shared/sbarinfo.h:153: error: &#8216;DRAWNUMBER_AMMO&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWNUMBER_AMMO&#8217;
src/g_shared/sbarinfo.cpp:72: error: conflicting declaration &#8216;DRAWNUMBER_AMMOCAPACITY&#8217;
src/g_shared/sbarinfo.h:154: error: &#8216;DRAWNUMBER_AMMOCAPACITY&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWNUMBER_AMMOCAPACITY&#8217;
src/g_shared/sbarinfo.cpp:73: error: conflicting declaration &#8216;DRAWNUMBER_FRAGS&#8217;
src/g_shared/sbarinfo.h:155: error: &#8216;DRAWNUMBER_FRAGS&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWNUMBER_FRAGS&#8217;
src/g_shared/sbarinfo.cpp:74: error: conflicting declaration &#8216;DRAWNUMBER_INVENTORY&#8217;
src/g_shared/sbarinfo.h:156: error: &#8216;DRAWNUMBER_INVENTORY&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWNUMBER_INVENTORY&#8217;
src/g_shared/sbarinfo.cpp:75: error: conflicting declaration &#8216;DRAWNUMBER_KILLS&#8217;
src/g_shared/sbarinfo.h:157: error: &#8216;DRAWNUMBER_KILLS&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWNUMBER_KILLS&#8217;
src/g_shared/sbarinfo.cpp:76: error: conflicting declaration &#8216;DRAWNUMBER_MONSTERS&#8217;
src/g_shared/sbarinfo.h:158: error: &#8216;DRAWNUMBER_MONSTERS&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWNUMBER_MONSTERS&#8217;
src/g_shared/sbarinfo.cpp:77: error: conflicting declaration &#8216;DRAWNUMBER_ITEMS&#8217;
src/g_shared/sbarinfo.h:159: error: &#8216;DRAWNUMBER_ITEMS&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWNUMBER_ITEMS&#8217;
src/g_shared/sbarinfo.cpp:78: error: conflicting declaration &#8216;DRAWNUMBER_TOTALITEMS&#8217;
src/g_shared/sbarinfo.h:160: error: &#8216;DRAWNUMBER_TOTALITEMS&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWNUMBER_TOTALITEMS&#8217;
src/g_shared/sbarinfo.cpp:79: error: conflicting declaration &#8216;DRAWNUMBER_SECRETS&#8217;
src/g_shared/sbarinfo.h:161: error: &#8216;DRAWNUMBER_SECRETS&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWNUMBER_SECRETS&#8217;
src/g_shared/sbarinfo.cpp:80: error: conflicting declaration &#8216;DRAWNUMBER_TOTALSECRETS&#8217;
src/g_shared/sbarinfo.h:162: error: &#8216;DRAWNUMBER_TOTALSECRETS&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWNUMBER_TOTALSECRETS&#8217;
src/g_shared/sbarinfo.cpp:81: error: conflicting declaration &#8216;DRAWNUMBER_ARMORCLASS&#8217;
src/g_shared/sbarinfo.h:163: error: &#8216;DRAWNUMBER_ARMORCLASS&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWNUMBER_ARMORCLASS&#8217;
src/g_shared/sbarinfo.cpp:86: error: conflicting declaration &#8216;DRAWBAR_HORIZONTAL&#8217;
src/g_shared/sbarinfo.h:168: error: &#8216;DRAWBAR_HORIZONTAL&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWBAR_HORIZONTAL&#8217;
src/g_shared/sbarinfo.cpp:87: error: conflicting declaration &#8216;DRAWBAR_REVERSE&#8217;
src/g_shared/sbarinfo.h:169: error: &#8216;DRAWBAR_REVERSE&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWBAR_REVERSE&#8217;
src/g_shared/sbarinfo.cpp:88: error: conflicting declaration &#8216;DRAWBAR_COMPAREDEFAULTS&#8217;
src/g_shared/sbarinfo.h:170: error: &#8216;DRAWBAR_COMPAREDEFAULTS&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWBAR_COMPAREDEFAULTS&#8217;
src/g_shared/sbarinfo.cpp:93: error: conflicting declaration &#8216;DRAWSELECTEDINVENTORY_ALTERNATEONEMPTY&#8217;
src/g_shared/sbarinfo.h:176: error: &#8216;DRAWSELECTEDINVENTORY_ALTERNATEONEMPTY&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWSELECTEDINVENTORY_ALTERNATEONEMPTY&#8217;
src/g_shared/sbarinfo.cpp:94: error: conflicting declaration &#8216;DRAWSELECTEDINVENTORY_ARTIFLASH&#8217;
src/g_shared/sbarinfo.h:177: error: &#8216;DRAWSELECTEDINVENTORY_ARTIFLASH&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWSELECTEDINVENTORY_ARTIFLASH&#8217;
src/g_shared/sbarinfo.cpp:95: error: conflicting declaration &#8216;DRAWSELECTEDINVENTORY_ALWAYSSHOWCOUNTER&#8217;
src/g_shared/sbarinfo.h:178: error: &#8216;DRAWSELECTEDINVENTORY_ALWAYSSHOWCOUNTER&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWSELECTEDINVENTORY_ALWAYSSHOWCOUNTER&#8217;
src/g_shared/sbarinfo.cpp:100: error: conflicting declaration &#8216;DRAWINVENTORYBAR_ALWAYSSHOW&#8217;
src/g_shared/sbarinfo.h:183: error: &#8216;DRAWINVENTORYBAR_ALWAYSSHOW&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWINVENTORYBAR_ALWAYSSHOW&#8217;
src/g_shared/sbarinfo.cpp:101: error: conflicting declaration &#8216;DRAWINVENTORYBAR_NOARTIBOX&#8217;
src/g_shared/sbarinfo.h:184: error: &#8216;DRAWINVENTORYBAR_NOARTIBOX&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWINVENTORYBAR_NOARTIBOX&#8217;
src/g_shared/sbarinfo.cpp:102: error: conflicting declaration &#8216;DRAWINVENTORYBAR_NOARROWS&#8217;
src/g_shared/sbarinfo.h:185: error: &#8216;DRAWINVENTORYBAR_NOARROWS&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWINVENTORYBAR_NOARROWS&#8217;
src/g_shared/sbarinfo.cpp:103: error: conflicting declaration &#8216;DRAWINVENTORYBAR_ALWAYSSHOWCOUNTER&#8217;
src/g_shared/sbarinfo.h:186: error: &#8216;DRAWINVENTORYBAR_ALWAYSSHOWCOUNTER&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWINVENTORYBAR_ALWAYSSHOWCOUNTER&#8217;
src/g_shared/sbarinfo.cpp:108: error: conflicting declaration &#8216;DRAWGEM_WIGGLE&#8217;
src/g_shared/sbarinfo.h:191: error: &#8216;DRAWGEM_WIGGLE&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWGEM_WIGGLE&#8217;
src/g_shared/sbarinfo.cpp:109: error: conflicting declaration &#8216;DRAWGEM_TRANSLATABLE&#8217;
src/g_shared/sbarinfo.h:192: error: &#8216;DRAWGEM_TRANSLATABLE&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWGEM_TRANSLATABLE&#8217;
src/g_shared/sbarinfo.cpp:110: error: conflicting declaration &#8216;DRAWGEM_ARMOR&#8217;
src/g_shared/sbarinfo.h:193: error: &#8216;DRAWGEM_ARMOR&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWGEM_ARMOR&#8217;
src/g_shared/sbarinfo.cpp:111: error: conflicting declaration &#8216;DRAWGEM_REVERSE&#8217;
src/g_shared/sbarinfo.h:194: error: &#8216;DRAWGEM_REVERSE&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWGEM_REVERSE&#8217;
src/g_shared/sbarinfo.cpp:116: error: conflicting declaration &#8216;DRAWSHADER_VERTICAL&#8217;
src/g_shared/sbarinfo.h:199: error: &#8216;DRAWSHADER_VERTICAL&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWSHADER_VERTICAL&#8217;
src/g_shared/sbarinfo.cpp:117: error: conflicting declaration &#8216;DRAWSHADER_REVERSE&#8217;
src/g_shared/sbarinfo.h:200: error: &#8216;DRAWSHADER_REVERSE&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWSHADER_REVERSE&#8217;
src/g_shared/sbarinfo.cpp:122: error: conflicting declaration &#8216;DRAWMUGSHOT_XDEATHFACE&#8217;
src/g_shared/sbarinfo.h:205: error: &#8216;DRAWMUGSHOT_XDEATHFACE&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWMUGSHOT_XDEATHFACE&#8217;
src/g_shared/sbarinfo.cpp:123: error: conflicting declaration &#8216;DRAWMUGSHOT_ANIMATEDGODMODE&#8217;
src/g_shared/sbarinfo.h:206: error: &#8216;DRAWMUGSHOT_ANIMATEDGODMODE&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWMUGSHOT_ANIMATEDGODMODE&#8217;
src/g_shared/sbarinfo.cpp:128: error: conflicting declaration &#8216;DRAWKEYBAR_VERTICAL&#8217;
src/g_shared/sbarinfo.h:211: error: &#8216;DRAWKEYBAR_VERTICAL&#8217; has a previous declaration as &#8216;<anonymous enum> DRAWKEYBAR_VERTICAL&#8217;
src/g_shared/sbarinfo.cpp:133: error: conflicting declaration &#8216;SBARINFOEVENT_NOT&#8217;
src/g_shared/sbarinfo.h:216: error: &#8216;SBARINFOEVENT_NOT&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFOEVENT_NOT&#8217;
src/g_shared/sbarinfo.cpp:134: error: conflicting declaration &#8216;SBARINFOEVENT_OR&#8217;
src/g_shared/sbarinfo.h:217: error: &#8216;SBARINFOEVENT_OR&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFOEVENT_OR&#8217;
src/g_shared/sbarinfo.cpp:135: error: conflicting declaration &#8216;SBARINFOEVENT_AND&#8217;
src/g_shared/sbarinfo.h:218: error: &#8216;SBARINFOEVENT_AND&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFOEVENT_AND&#8217;
src/g_shared/sbarinfo.cpp:150: error: conflicting declaration &#8216;SBARINFO_BASE&#8217;
src/g_shared/sbarinfo.h:223: error: &#8216;SBARINFO_BASE&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_BASE&#8217;
src/g_shared/sbarinfo.cpp:151: error: conflicting declaration &#8216;SBARINFO_HEIGHT&#8217;
src/g_shared/sbarinfo.h:224: error: &#8216;SBARINFO_HEIGHT&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_HEIGHT&#8217;
src/g_shared/sbarinfo.cpp:152: error: conflicting declaration &#8216;SBARINFO_INTERPOLATEHEALTH&#8217;
src/g_shared/sbarinfo.h:225: error: &#8216;SBARINFO_INTERPOLATEHEALTH&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_INTERPOLATEHEALTH&#8217;
src/g_shared/sbarinfo.cpp:153: error: conflicting declaration &#8216;SBARINFO_INTERPOLATEARMOR&#8217;
src/g_shared/sbarinfo.h:226: error: &#8216;SBARINFO_INTERPOLATEARMOR&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_INTERPOLATEARMOR&#8217;
src/g_shared/sbarinfo.cpp:154: error: conflicting declaration &#8216;SBARINFO_COMPLETEBORDER&#8217;
src/g_shared/sbarinfo.h:227: error: &#8216;SBARINFO_COMPLETEBORDER&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_COMPLETEBORDER&#8217;
src/g_shared/sbarinfo.cpp:155: error: conflicting declaration &#8216;SBARINFO_STATUSBAR&#8217;
src/g_shared/sbarinfo.h:228: error: &#8216;SBARINFO_STATUSBAR&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_STATUSBAR&#8217;
src/g_shared/sbarinfo.cpp:170: error: conflicting declaration &#8216;STBAR_NONE&#8217;
src/g_shared/sbarinfo.h:234: error: &#8216;STBAR_NONE&#8217; has a previous declaration as &#8216;<anonymous enum> STBAR_NONE&#8217;
src/g_shared/sbarinfo.cpp:171: error: conflicting declaration &#8216;STBAR_FULLSCREEN&#8217;
src/g_shared/sbarinfo.h:235: error: &#8216;STBAR_FULLSCREEN&#8217; has a previous declaration as &#8216;<anonymous enum> STBAR_FULLSCREEN&#8217;
src/g_shared/sbarinfo.cpp:172: error: conflicting declaration &#8216;STBAR_NORMAL&#8217;
src/g_shared/sbarinfo.h:236: error: &#8216;STBAR_NORMAL&#8217; has a previous declaration as &#8216;<anonymous enum> STBAR_NORMAL&#8217;
src/g_shared/sbarinfo.cpp:173: error: conflicting declaration &#8216;STBAR_AUTOMAP&#8217;
src/g_shared/sbarinfo.h:237: error: &#8216;STBAR_AUTOMAP&#8217; has a previous declaration as &#8216;<anonymous enum> STBAR_AUTOMAP&#8217;
src/g_shared/sbarinfo.cpp:174: error: conflicting declaration &#8216;STBAR_INVENTORY&#8217;
src/g_shared/sbarinfo.h:238: error: &#8216;STBAR_INVENTORY&#8217; has a previous declaration as &#8216;<anonymous enum> STBAR_INVENTORY&#8217;
src/g_shared/sbarinfo.cpp:175: error: conflicting declaration &#8216;STBAR_INVENTORYFULLSCREEN&#8217;
src/g_shared/sbarinfo.h:239: error: &#8216;STBAR_INVENTORYFULLSCREEN&#8217; has a previous declaration as &#8216;<anonymous enum> STBAR_INVENTORYFULLSCREEN&#8217;
src/g_shared/sbarinfo.cpp:198: error: conflicting declaration &#8216;SBARINFO_DRAWIMAGE&#8217;
src/g_shared/sbarinfo.h:244: error: &#8216;SBARINFO_DRAWIMAGE&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_DRAWIMAGE&#8217;
src/g_shared/sbarinfo.cpp:199: error: conflicting declaration &#8216;SBARINFO_DRAWNUMBER&#8217;
src/g_shared/sbarinfo.h:245: error: &#8216;SBARINFO_DRAWNUMBER&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_DRAWNUMBER&#8217;
src/g_shared/sbarinfo.cpp:200: error: conflicting declaration &#8216;SBARINFO_DRAWSWITCHABLEIMAGE&#8217;
src/g_shared/sbarinfo.h:246: error: &#8216;SBARINFO_DRAWSWITCHABLEIMAGE&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_DRAWSWITCHABLEIMAGE&#8217;
src/g_shared/sbarinfo.cpp:201: error: conflicting declaration &#8216;SBARINFO_DRAWMUGSHOT&#8217;
src/g_shared/sbarinfo.h:247: error: &#8216;SBARINFO_DRAWMUGSHOT&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_DRAWMUGSHOT&#8217;
src/g_shared/sbarinfo.cpp:202: error: conflicting declaration &#8216;SBARINFO_DRAWSELECTEDINVENTORY&#8217;
src/g_shared/sbarinfo.h:248: error: &#8216;SBARINFO_DRAWSELECTEDINVENTORY&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_DRAWSELECTEDINVENTORY&#8217;
src/g_shared/sbarinfo.cpp:203: error: conflicting declaration &#8216;SBARINFO_DRAWINVENTORYBAR&#8217;
src/g_shared/sbarinfo.h:249: error: &#8216;SBARINFO_DRAWINVENTORYBAR&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_DRAWINVENTORYBAR&#8217;
src/g_shared/sbarinfo.cpp:204: error: conflicting declaration &#8216;SBARINFO_DRAWBAR&#8217;
src/g_shared/sbarinfo.h:250: error: &#8216;SBARINFO_DRAWBAR&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_DRAWBAR&#8217;
src/g_shared/sbarinfo.cpp:205: error: conflicting declaration &#8216;SBARINFO_DRAWGEM&#8217;
src/g_shared/sbarinfo.h:251: error: &#8216;SBARINFO_DRAWGEM&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_DRAWGEM&#8217;
src/g_shared/sbarinfo.cpp:206: error: conflicting declaration &#8216;SBARINFO_DRAWSHADER&#8217;
src/g_shared/sbarinfo.h:252: error: &#8216;SBARINFO_DRAWSHADER&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_DRAWSHADER&#8217;
src/g_shared/sbarinfo.cpp:207: error: conflicting declaration &#8216;SBARINFO_DRAWSTRING&#8217;
src/g_shared/sbarinfo.h:253: error: &#8216;SBARINFO_DRAWSTRING&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_DRAWSTRING&#8217;
src/g_shared/sbarinfo.cpp:208: error: conflicting declaration &#8216;SBARINFO_DRAWKEYBAR&#8217;
src/g_shared/sbarinfo.h:254: error: &#8216;SBARINFO_DRAWKEYBAR&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_DRAWKEYBAR&#8217;
src/g_shared/sbarinfo.cpp:209: error: conflicting declaration &#8216;SBARINFO_GAMEMODE&#8217;
src/g_shared/sbarinfo.h:255: error: &#8216;SBARINFO_GAMEMODE&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_GAMEMODE&#8217;
src/g_shared/sbarinfo.cpp:210: error: conflicting declaration &#8216;SBARINFO_PLAYERCLASS&#8217;
src/g_shared/sbarinfo.h:256: error: &#8216;SBARINFO_PLAYERCLASS&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_PLAYERCLASS&#8217;
src/g_shared/sbarinfo.cpp:211: error: conflicting declaration &#8216;SBARINFO_WEAPONAMMO&#8217;
src/g_shared/sbarinfo.h:257: error: &#8216;SBARINFO_WEAPONAMMO&#8217; has a previous declaration as &#8216;<anonymous enum> SBARINFO_WEAPONAMMO&#8217;
src/g_shared/sbarinfo.cpp:1130: error: redefinition of &#8216;class FBarShader&#8217;
src/g_shared/sbarinfo.h:262: error: previous definition of &#8216;class FBarShader&#8217;
src/g_shared/sbarinfo.cpp:1241: error: redefinition of &#8216;class DSBarInfo&#8217;
src/g_shared/sbarinfo.h:274: error: previous definition of &#8216;class DSBarInfo&#8217;
make[1]: *** [releaseobj/sbarinfo.o] Error 1
make[1]: Leaving directory `/GuntherDW/src/svn/gzdoom.r62'
make: *** [deps] Error 2
[/spoiler]
i'll try to see what i can do to fix it, but remember, i'm not a full fledged programmer, i'm used to PHP, not C :p (altough this might look like an easy task for you, i've tried multiple things already w/o success :(
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

There were some file changes and one file got removed as a result. Apparently it's still there for you. Remember: I don't use GCC and really don't feel motivated to bother with this makefile crap so it's normally only the VC++ project I keep updated. I wish there'd be better project management tools for Linux/MinGW than the stone age method.
Locked

Return to “GZDoom”