Trying to compile GZDoom with Linux
Moderator: Graf Zahl
- GuntherDW
- Posts: 117
- Joined: Sat Nov 12, 2005 1:53
- Location: Belgium, Antwerp
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- GuntherDW
- Posts: 117
- Joined: Sat Nov 12, 2005 1:53
- Location: Belgium, Antwerp
- Contact:
what am i doing wrong then? 
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

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
- GuntherDW
- Posts: 117
- Joined: Sat Nov 12, 2005 1:53
- Location: Belgium, Antwerp
- Contact:
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)
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)
-
- Posts: 35
- Joined: Fri Sep 21, 2007 2:09
- Location: Australia
- Contact:
Binary
Anyway, Have put a binary up here. Hope it works.
http://linuxquake.org/download/gzdoom-lq-1.0.tgz
http://linuxquake.org/index3.html
http://linuxquake.org/download/gzdoom-lq-1.0.tgz
http://linuxquake.org/index3.html
- Syfo-Dyas
- Posts: 182
- Joined: Sun Oct 09, 2005 21:54
- Location: Ohio
- Contact:
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!

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!

- GuntherDW
- Posts: 117
- Joined: Sat Nov 12, 2005 1:53
- Location: Belgium, Antwerp
- Contact:
it was tough enough already to get it to compile in linux, and now you're asking for a BeOS port?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!

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
- GuntherDW
- Posts: 117
- Joined: Sat Nov 12, 2005 1:53
- Location: Belgium, Antwerp
- Contact:
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
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

- GuntherDW
- Posts: 117
- Joined: Sat Nov 12, 2005 1:53
- Location: Belgium, Antwerp
- Contact:
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 :
and
)
(i also had to dos2unix some files to make them compile correctly
)
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)
edit: fmodex doesn't seem to like my system, gzdoom only wants to start when i issue "-nomusic" at the command line
but this also happens with the later zdoom builds so it's not gzdoom related
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;
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

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 ‘void I_InitGraphics()’:
src/sdl/hardware.cpp:155: error: request for member ‘CheckParm’ in ‘Args’, which is of non-class type ‘DArgs*’
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

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
- GuntherDW
- Posts: 117
- Joined: Sat Nov 12, 2005 1:53
- Location: Belgium, Antwerp
- Contact:
hmm, now that i've updated my FMODex to 4.13.05 i get this compile error 
(plus i had to edit the Makefile.linux again to point to the new location, screw distribution packages and hello official releases :p)

(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 ‘virtual bool FMODStreamCapsule::Play(bool, float, bool)’:
src/sound/fmodsound.cpp:296: error: no matching function for call to ‘FMOD::Channel::addDSP(FMOD::DSP*&)’
/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 ‘static FMOD_RESULT FMODStreamCapsule::PCMReadCallback(FMOD_SOUND*, void*, unsigned int)’:
src/sound/fmodsound.cpp:367: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/sound/fmodsound.cpp: In member function ‘bool FMODSoundRenderer::Init()’:
src/sound/fmodsound.cpp:536: error: ‘FMOD_INIT_ENABLE_DSPNET’ was not declared in this scope
src/sound/fmodsound.cpp: In member function ‘virtual void FMODSoundRenderer::UpdateListener(AActor*)’:
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
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Syfo-Dyas
- Posts: 182
- Joined: Sun Oct 09, 2005 21:54
- Location: Ohio
- Contact:
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
There is already OpenGl for BeOS/Haiku, or what ever.
http://www.haiku-os.org/about/teams/opengl_game
- GuntherDW
- Posts: 117
- Joined: Sat Nov 12, 2005 1:53
- Location: Belgium, Antwerp
- Contact:
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][/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
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 ‘STATUSBARFLAG_FORCESCALED’
src/g_shared/sbarinfo.h:121: error: ‘STATUSBARFLAG_FORCESCALED’ has a previous declaration as ‘<anonymous enum> STATUSBARFLAG_FORCESCALED’
src/g_shared/sbarinfo.cpp:44: error: conflicting declaration ‘GAMETYPE_SINGLEPLAYER’
src/g_shared/sbarinfo.h:126: error: ‘GAMETYPE_SINGLEPLAYER’ has a previous declaration as ‘<anonymous enum> GAMETYPE_SINGLEPLAYER’
src/g_shared/sbarinfo.cpp:45: error: conflicting declaration ‘GAMETYPE_COOPERATIVE’
src/g_shared/sbarinfo.h:127: error: ‘GAMETYPE_COOPERATIVE’ has a previous declaration as ‘<anonymous enum> GAMETYPE_COOPERATIVE’
src/g_shared/sbarinfo.cpp:46: error: conflicting declaration ‘GAMETYPE_DEATHMATCH’
src/g_shared/sbarinfo.h:128: error: ‘GAMETYPE_DEATHMATCH’ has a previous declaration as ‘<anonymous enum> GAMETYPE_DEATHMATCH’
src/g_shared/sbarinfo.cpp:47: error: conflicting declaration ‘GAMETYPE_TEAMGAME’
src/g_shared/sbarinfo.h:129: error: ‘GAMETYPE_TEAMGAME’ has a previous declaration as ‘<anonymous enum> GAMETYPE_TEAMGAME’
src/g_shared/sbarinfo.cpp:52: error: conflicting declaration ‘DRAWIMAGE_PLAYERICON’
src/g_shared/sbarinfo.h:134: error: ‘DRAWIMAGE_PLAYERICON’ has a previous declaration as ‘<anonymous enum> DRAWIMAGE_PLAYERICON’
src/g_shared/sbarinfo.cpp:53: error: conflicting declaration ‘DRAWIMAGE_AMMO1’
src/g_shared/sbarinfo.h:135: error: ‘DRAWIMAGE_AMMO1’ has a previous declaration as ‘<anonymous enum> DRAWIMAGE_AMMO1’
src/g_shared/sbarinfo.cpp:54: error: conflicting declaration ‘DRAWIMAGE_AMMO2’
src/g_shared/sbarinfo.h:136: error: ‘DRAWIMAGE_AMMO2’ has a previous declaration as ‘<anonymous enum> DRAWIMAGE_AMMO2’
src/g_shared/sbarinfo.cpp:55: error: conflicting declaration ‘DRAWIMAGE_INVENTORYICON’
src/g_shared/sbarinfo.h:137: error: ‘DRAWIMAGE_INVENTORYICON’ has a previous declaration as ‘<anonymous enum> DRAWIMAGE_INVENTORYICON’
src/g_shared/sbarinfo.cpp:56: error: conflicting declaration ‘DRAWIMAGE_TRANSLATABLE’
src/g_shared/sbarinfo.h:138: error: ‘DRAWIMAGE_TRANSLATABLE’ has a previous declaration as ‘<anonymous enum> DRAWIMAGE_TRANSLATABLE’
src/g_shared/sbarinfo.cpp:57: error: conflicting declaration ‘DRAWIMAGE_WEAPONSLOT’
src/g_shared/sbarinfo.h:139: error: ‘DRAWIMAGE_WEAPONSLOT’ has a previous declaration as ‘<anonymous enum> DRAWIMAGE_WEAPONSLOT’
src/g_shared/sbarinfo.cpp:58: error: conflicting declaration ‘DRAWIMAGE_SWITCHABLE_AND’
src/g_shared/sbarinfo.h:140: error: ‘DRAWIMAGE_SWITCHABLE_AND’ has a previous declaration as ‘<anonymous enum> DRAWIMAGE_SWITCHABLE_AND’
src/g_shared/sbarinfo.cpp:59: error: conflicting declaration ‘DRAWIMAGE_INVULNERABILITY’
src/g_shared/sbarinfo.h:141: error: ‘DRAWIMAGE_INVULNERABILITY’ has a previous declaration as ‘<anonymous enum> DRAWIMAGE_INVULNERABILITY’
src/g_shared/sbarinfo.cpp:60: error: conflicting declaration ‘DRAWIMAGE_OFFSET_CENTER’
src/g_shared/sbarinfo.h:142: error: ‘DRAWIMAGE_OFFSET_CENTER’ has a previous declaration as ‘<anonymous enum> DRAWIMAGE_OFFSET_CENTER’
src/g_shared/sbarinfo.cpp:61: error: conflicting declaration ‘DRAWIMAGE_ARMOR’
src/g_shared/sbarinfo.h:143: error: ‘DRAWIMAGE_ARMOR’ has a previous declaration as ‘<anonymous enum> DRAWIMAGE_ARMOR’
src/g_shared/sbarinfo.cpp:62: error: conflicting declaration ‘DRAWIMAGE_WEAPONICON’
src/g_shared/sbarinfo.h:144: error: ‘DRAWIMAGE_WEAPONICON’ has a previous declaration as ‘<anonymous enum> DRAWIMAGE_WEAPONICON’
src/g_shared/sbarinfo.cpp:67: error: conflicting declaration ‘DRAWNUMBER_HEALTH’
src/g_shared/sbarinfo.h:149: error: ‘DRAWNUMBER_HEALTH’ has a previous declaration as ‘<anonymous enum> DRAWNUMBER_HEALTH’
src/g_shared/sbarinfo.cpp:68: error: conflicting declaration ‘DRAWNUMBER_ARMOR’
src/g_shared/sbarinfo.h:150: error: ‘DRAWNUMBER_ARMOR’ has a previous declaration as ‘<anonymous enum> DRAWNUMBER_ARMOR’
src/g_shared/sbarinfo.cpp:69: error: conflicting declaration ‘DRAWNUMBER_AMMO1’
src/g_shared/sbarinfo.h:151: error: ‘DRAWNUMBER_AMMO1’ has a previous declaration as ‘<anonymous enum> DRAWNUMBER_AMMO1’
src/g_shared/sbarinfo.cpp:70: error: conflicting declaration ‘DRAWNUMBER_AMMO2’
src/g_shared/sbarinfo.h:152: error: ‘DRAWNUMBER_AMMO2’ has a previous declaration as ‘<anonymous enum> DRAWNUMBER_AMMO2’
src/g_shared/sbarinfo.cpp:71: error: conflicting declaration ‘DRAWNUMBER_AMMO’
src/g_shared/sbarinfo.h:153: error: ‘DRAWNUMBER_AMMO’ has a previous declaration as ‘<anonymous enum> DRAWNUMBER_AMMO’
src/g_shared/sbarinfo.cpp:72: error: conflicting declaration ‘DRAWNUMBER_AMMOCAPACITY’
src/g_shared/sbarinfo.h:154: error: ‘DRAWNUMBER_AMMOCAPACITY’ has a previous declaration as ‘<anonymous enum> DRAWNUMBER_AMMOCAPACITY’
src/g_shared/sbarinfo.cpp:73: error: conflicting declaration ‘DRAWNUMBER_FRAGS’
src/g_shared/sbarinfo.h:155: error: ‘DRAWNUMBER_FRAGS’ has a previous declaration as ‘<anonymous enum> DRAWNUMBER_FRAGS’
src/g_shared/sbarinfo.cpp:74: error: conflicting declaration ‘DRAWNUMBER_INVENTORY’
src/g_shared/sbarinfo.h:156: error: ‘DRAWNUMBER_INVENTORY’ has a previous declaration as ‘<anonymous enum> DRAWNUMBER_INVENTORY’
src/g_shared/sbarinfo.cpp:75: error: conflicting declaration ‘DRAWNUMBER_KILLS’
src/g_shared/sbarinfo.h:157: error: ‘DRAWNUMBER_KILLS’ has a previous declaration as ‘<anonymous enum> DRAWNUMBER_KILLS’
src/g_shared/sbarinfo.cpp:76: error: conflicting declaration ‘DRAWNUMBER_MONSTERS’
src/g_shared/sbarinfo.h:158: error: ‘DRAWNUMBER_MONSTERS’ has a previous declaration as ‘<anonymous enum> DRAWNUMBER_MONSTERS’
src/g_shared/sbarinfo.cpp:77: error: conflicting declaration ‘DRAWNUMBER_ITEMS’
src/g_shared/sbarinfo.h:159: error: ‘DRAWNUMBER_ITEMS’ has a previous declaration as ‘<anonymous enum> DRAWNUMBER_ITEMS’
src/g_shared/sbarinfo.cpp:78: error: conflicting declaration ‘DRAWNUMBER_TOTALITEMS’
src/g_shared/sbarinfo.h:160: error: ‘DRAWNUMBER_TOTALITEMS’ has a previous declaration as ‘<anonymous enum> DRAWNUMBER_TOTALITEMS’
src/g_shared/sbarinfo.cpp:79: error: conflicting declaration ‘DRAWNUMBER_SECRETS’
src/g_shared/sbarinfo.h:161: error: ‘DRAWNUMBER_SECRETS’ has a previous declaration as ‘<anonymous enum> DRAWNUMBER_SECRETS’
src/g_shared/sbarinfo.cpp:80: error: conflicting declaration ‘DRAWNUMBER_TOTALSECRETS’
src/g_shared/sbarinfo.h:162: error: ‘DRAWNUMBER_TOTALSECRETS’ has a previous declaration as ‘<anonymous enum> DRAWNUMBER_TOTALSECRETS’
src/g_shared/sbarinfo.cpp:81: error: conflicting declaration ‘DRAWNUMBER_ARMORCLASS’
src/g_shared/sbarinfo.h:163: error: ‘DRAWNUMBER_ARMORCLASS’ has a previous declaration as ‘<anonymous enum> DRAWNUMBER_ARMORCLASS’
src/g_shared/sbarinfo.cpp:86: error: conflicting declaration ‘DRAWBAR_HORIZONTAL’
src/g_shared/sbarinfo.h:168: error: ‘DRAWBAR_HORIZONTAL’ has a previous declaration as ‘<anonymous enum> DRAWBAR_HORIZONTAL’
src/g_shared/sbarinfo.cpp:87: error: conflicting declaration ‘DRAWBAR_REVERSE’
src/g_shared/sbarinfo.h:169: error: ‘DRAWBAR_REVERSE’ has a previous declaration as ‘<anonymous enum> DRAWBAR_REVERSE’
src/g_shared/sbarinfo.cpp:88: error: conflicting declaration ‘DRAWBAR_COMPAREDEFAULTS’
src/g_shared/sbarinfo.h:170: error: ‘DRAWBAR_COMPAREDEFAULTS’ has a previous declaration as ‘<anonymous enum> DRAWBAR_COMPAREDEFAULTS’
src/g_shared/sbarinfo.cpp:93: error: conflicting declaration ‘DRAWSELECTEDINVENTORY_ALTERNATEONEMPTY’
src/g_shared/sbarinfo.h:176: error: ‘DRAWSELECTEDINVENTORY_ALTERNATEONEMPTY’ has a previous declaration as ‘<anonymous enum> DRAWSELECTEDINVENTORY_ALTERNATEONEMPTY’
src/g_shared/sbarinfo.cpp:94: error: conflicting declaration ‘DRAWSELECTEDINVENTORY_ARTIFLASH’
src/g_shared/sbarinfo.h:177: error: ‘DRAWSELECTEDINVENTORY_ARTIFLASH’ has a previous declaration as ‘<anonymous enum> DRAWSELECTEDINVENTORY_ARTIFLASH’
src/g_shared/sbarinfo.cpp:95: error: conflicting declaration ‘DRAWSELECTEDINVENTORY_ALWAYSSHOWCOUNTER’
src/g_shared/sbarinfo.h:178: error: ‘DRAWSELECTEDINVENTORY_ALWAYSSHOWCOUNTER’ has a previous declaration as ‘<anonymous enum> DRAWSELECTEDINVENTORY_ALWAYSSHOWCOUNTER’
src/g_shared/sbarinfo.cpp:100: error: conflicting declaration ‘DRAWINVENTORYBAR_ALWAYSSHOW’
src/g_shared/sbarinfo.h:183: error: ‘DRAWINVENTORYBAR_ALWAYSSHOW’ has a previous declaration as ‘<anonymous enum> DRAWINVENTORYBAR_ALWAYSSHOW’
src/g_shared/sbarinfo.cpp:101: error: conflicting declaration ‘DRAWINVENTORYBAR_NOARTIBOX’
src/g_shared/sbarinfo.h:184: error: ‘DRAWINVENTORYBAR_NOARTIBOX’ has a previous declaration as ‘<anonymous enum> DRAWINVENTORYBAR_NOARTIBOX’
src/g_shared/sbarinfo.cpp:102: error: conflicting declaration ‘DRAWINVENTORYBAR_NOARROWS’
src/g_shared/sbarinfo.h:185: error: ‘DRAWINVENTORYBAR_NOARROWS’ has a previous declaration as ‘<anonymous enum> DRAWINVENTORYBAR_NOARROWS’
src/g_shared/sbarinfo.cpp:103: error: conflicting declaration ‘DRAWINVENTORYBAR_ALWAYSSHOWCOUNTER’
src/g_shared/sbarinfo.h:186: error: ‘DRAWINVENTORYBAR_ALWAYSSHOWCOUNTER’ has a previous declaration as ‘<anonymous enum> DRAWINVENTORYBAR_ALWAYSSHOWCOUNTER’
src/g_shared/sbarinfo.cpp:108: error: conflicting declaration ‘DRAWGEM_WIGGLE’
src/g_shared/sbarinfo.h:191: error: ‘DRAWGEM_WIGGLE’ has a previous declaration as ‘<anonymous enum> DRAWGEM_WIGGLE’
src/g_shared/sbarinfo.cpp:109: error: conflicting declaration ‘DRAWGEM_TRANSLATABLE’
src/g_shared/sbarinfo.h:192: error: ‘DRAWGEM_TRANSLATABLE’ has a previous declaration as ‘<anonymous enum> DRAWGEM_TRANSLATABLE’
src/g_shared/sbarinfo.cpp:110: error: conflicting declaration ‘DRAWGEM_ARMOR’
src/g_shared/sbarinfo.h:193: error: ‘DRAWGEM_ARMOR’ has a previous declaration as ‘<anonymous enum> DRAWGEM_ARMOR’
src/g_shared/sbarinfo.cpp:111: error: conflicting declaration ‘DRAWGEM_REVERSE’
src/g_shared/sbarinfo.h:194: error: ‘DRAWGEM_REVERSE’ has a previous declaration as ‘<anonymous enum> DRAWGEM_REVERSE’
src/g_shared/sbarinfo.cpp:116: error: conflicting declaration ‘DRAWSHADER_VERTICAL’
src/g_shared/sbarinfo.h:199: error: ‘DRAWSHADER_VERTICAL’ has a previous declaration as ‘<anonymous enum> DRAWSHADER_VERTICAL’
src/g_shared/sbarinfo.cpp:117: error: conflicting declaration ‘DRAWSHADER_REVERSE’
src/g_shared/sbarinfo.h:200: error: ‘DRAWSHADER_REVERSE’ has a previous declaration as ‘<anonymous enum> DRAWSHADER_REVERSE’
src/g_shared/sbarinfo.cpp:122: error: conflicting declaration ‘DRAWMUGSHOT_XDEATHFACE’
src/g_shared/sbarinfo.h:205: error: ‘DRAWMUGSHOT_XDEATHFACE’ has a previous declaration as ‘<anonymous enum> DRAWMUGSHOT_XDEATHFACE’
src/g_shared/sbarinfo.cpp:123: error: conflicting declaration ‘DRAWMUGSHOT_ANIMATEDGODMODE’
src/g_shared/sbarinfo.h:206: error: ‘DRAWMUGSHOT_ANIMATEDGODMODE’ has a previous declaration as ‘<anonymous enum> DRAWMUGSHOT_ANIMATEDGODMODE’
src/g_shared/sbarinfo.cpp:128: error: conflicting declaration ‘DRAWKEYBAR_VERTICAL’
src/g_shared/sbarinfo.h:211: error: ‘DRAWKEYBAR_VERTICAL’ has a previous declaration as ‘<anonymous enum> DRAWKEYBAR_VERTICAL’
src/g_shared/sbarinfo.cpp:133: error: conflicting declaration ‘SBARINFOEVENT_NOT’
src/g_shared/sbarinfo.h:216: error: ‘SBARINFOEVENT_NOT’ has a previous declaration as ‘<anonymous enum> SBARINFOEVENT_NOT’
src/g_shared/sbarinfo.cpp:134: error: conflicting declaration ‘SBARINFOEVENT_OR’
src/g_shared/sbarinfo.h:217: error: ‘SBARINFOEVENT_OR’ has a previous declaration as ‘<anonymous enum> SBARINFOEVENT_OR’
src/g_shared/sbarinfo.cpp:135: error: conflicting declaration ‘SBARINFOEVENT_AND’
src/g_shared/sbarinfo.h:218: error: ‘SBARINFOEVENT_AND’ has a previous declaration as ‘<anonymous enum> SBARINFOEVENT_AND’
src/g_shared/sbarinfo.cpp:150: error: conflicting declaration ‘SBARINFO_BASE’
src/g_shared/sbarinfo.h:223: error: ‘SBARINFO_BASE’ has a previous declaration as ‘<anonymous enum> SBARINFO_BASE’
src/g_shared/sbarinfo.cpp:151: error: conflicting declaration ‘SBARINFO_HEIGHT’
src/g_shared/sbarinfo.h:224: error: ‘SBARINFO_HEIGHT’ has a previous declaration as ‘<anonymous enum> SBARINFO_HEIGHT’
src/g_shared/sbarinfo.cpp:152: error: conflicting declaration ‘SBARINFO_INTERPOLATEHEALTH’
src/g_shared/sbarinfo.h:225: error: ‘SBARINFO_INTERPOLATEHEALTH’ has a previous declaration as ‘<anonymous enum> SBARINFO_INTERPOLATEHEALTH’
src/g_shared/sbarinfo.cpp:153: error: conflicting declaration ‘SBARINFO_INTERPOLATEARMOR’
src/g_shared/sbarinfo.h:226: error: ‘SBARINFO_INTERPOLATEARMOR’ has a previous declaration as ‘<anonymous enum> SBARINFO_INTERPOLATEARMOR’
src/g_shared/sbarinfo.cpp:154: error: conflicting declaration ‘SBARINFO_COMPLETEBORDER’
src/g_shared/sbarinfo.h:227: error: ‘SBARINFO_COMPLETEBORDER’ has a previous declaration as ‘<anonymous enum> SBARINFO_COMPLETEBORDER’
src/g_shared/sbarinfo.cpp:155: error: conflicting declaration ‘SBARINFO_STATUSBAR’
src/g_shared/sbarinfo.h:228: error: ‘SBARINFO_STATUSBAR’ has a previous declaration as ‘<anonymous enum> SBARINFO_STATUSBAR’
src/g_shared/sbarinfo.cpp:170: error: conflicting declaration ‘STBAR_NONE’
src/g_shared/sbarinfo.h:234: error: ‘STBAR_NONE’ has a previous declaration as ‘<anonymous enum> STBAR_NONE’
src/g_shared/sbarinfo.cpp:171: error: conflicting declaration ‘STBAR_FULLSCREEN’
src/g_shared/sbarinfo.h:235: error: ‘STBAR_FULLSCREEN’ has a previous declaration as ‘<anonymous enum> STBAR_FULLSCREEN’
src/g_shared/sbarinfo.cpp:172: error: conflicting declaration ‘STBAR_NORMAL’
src/g_shared/sbarinfo.h:236: error: ‘STBAR_NORMAL’ has a previous declaration as ‘<anonymous enum> STBAR_NORMAL’
src/g_shared/sbarinfo.cpp:173: error: conflicting declaration ‘STBAR_AUTOMAP’
src/g_shared/sbarinfo.h:237: error: ‘STBAR_AUTOMAP’ has a previous declaration as ‘<anonymous enum> STBAR_AUTOMAP’
src/g_shared/sbarinfo.cpp:174: error: conflicting declaration ‘STBAR_INVENTORY’
src/g_shared/sbarinfo.h:238: error: ‘STBAR_INVENTORY’ has a previous declaration as ‘<anonymous enum> STBAR_INVENTORY’
src/g_shared/sbarinfo.cpp:175: error: conflicting declaration ‘STBAR_INVENTORYFULLSCREEN’
src/g_shared/sbarinfo.h:239: error: ‘STBAR_INVENTORYFULLSCREEN’ has a previous declaration as ‘<anonymous enum> STBAR_INVENTORYFULLSCREEN’
src/g_shared/sbarinfo.cpp:198: error: conflicting declaration ‘SBARINFO_DRAWIMAGE’
src/g_shared/sbarinfo.h:244: error: ‘SBARINFO_DRAWIMAGE’ has a previous declaration as ‘<anonymous enum> SBARINFO_DRAWIMAGE’
src/g_shared/sbarinfo.cpp:199: error: conflicting declaration ‘SBARINFO_DRAWNUMBER’
src/g_shared/sbarinfo.h:245: error: ‘SBARINFO_DRAWNUMBER’ has a previous declaration as ‘<anonymous enum> SBARINFO_DRAWNUMBER’
src/g_shared/sbarinfo.cpp:200: error: conflicting declaration ‘SBARINFO_DRAWSWITCHABLEIMAGE’
src/g_shared/sbarinfo.h:246: error: ‘SBARINFO_DRAWSWITCHABLEIMAGE’ has a previous declaration as ‘<anonymous enum> SBARINFO_DRAWSWITCHABLEIMAGE’
src/g_shared/sbarinfo.cpp:201: error: conflicting declaration ‘SBARINFO_DRAWMUGSHOT’
src/g_shared/sbarinfo.h:247: error: ‘SBARINFO_DRAWMUGSHOT’ has a previous declaration as ‘<anonymous enum> SBARINFO_DRAWMUGSHOT’
src/g_shared/sbarinfo.cpp:202: error: conflicting declaration ‘SBARINFO_DRAWSELECTEDINVENTORY’
src/g_shared/sbarinfo.h:248: error: ‘SBARINFO_DRAWSELECTEDINVENTORY’ has a previous declaration as ‘<anonymous enum> SBARINFO_DRAWSELECTEDINVENTORY’
src/g_shared/sbarinfo.cpp:203: error: conflicting declaration ‘SBARINFO_DRAWINVENTORYBAR’
src/g_shared/sbarinfo.h:249: error: ‘SBARINFO_DRAWINVENTORYBAR’ has a previous declaration as ‘<anonymous enum> SBARINFO_DRAWINVENTORYBAR’
src/g_shared/sbarinfo.cpp:204: error: conflicting declaration ‘SBARINFO_DRAWBAR’
src/g_shared/sbarinfo.h:250: error: ‘SBARINFO_DRAWBAR’ has a previous declaration as ‘<anonymous enum> SBARINFO_DRAWBAR’
src/g_shared/sbarinfo.cpp:205: error: conflicting declaration ‘SBARINFO_DRAWGEM’
src/g_shared/sbarinfo.h:251: error: ‘SBARINFO_DRAWGEM’ has a previous declaration as ‘<anonymous enum> SBARINFO_DRAWGEM’
src/g_shared/sbarinfo.cpp:206: error: conflicting declaration ‘SBARINFO_DRAWSHADER’
src/g_shared/sbarinfo.h:252: error: ‘SBARINFO_DRAWSHADER’ has a previous declaration as ‘<anonymous enum> SBARINFO_DRAWSHADER’
src/g_shared/sbarinfo.cpp:207: error: conflicting declaration ‘SBARINFO_DRAWSTRING’
src/g_shared/sbarinfo.h:253: error: ‘SBARINFO_DRAWSTRING’ has a previous declaration as ‘<anonymous enum> SBARINFO_DRAWSTRING’
src/g_shared/sbarinfo.cpp:208: error: conflicting declaration ‘SBARINFO_DRAWKEYBAR’
src/g_shared/sbarinfo.h:254: error: ‘SBARINFO_DRAWKEYBAR’ has a previous declaration as ‘<anonymous enum> SBARINFO_DRAWKEYBAR’
src/g_shared/sbarinfo.cpp:209: error: conflicting declaration ‘SBARINFO_GAMEMODE’
src/g_shared/sbarinfo.h:255: error: ‘SBARINFO_GAMEMODE’ has a previous declaration as ‘<anonymous enum> SBARINFO_GAMEMODE’
src/g_shared/sbarinfo.cpp:210: error: conflicting declaration ‘SBARINFO_PLAYERCLASS’
src/g_shared/sbarinfo.h:256: error: ‘SBARINFO_PLAYERCLASS’ has a previous declaration as ‘<anonymous enum> SBARINFO_PLAYERCLASS’
src/g_shared/sbarinfo.cpp:211: error: conflicting declaration ‘SBARINFO_WEAPONAMMO’
src/g_shared/sbarinfo.h:257: error: ‘SBARINFO_WEAPONAMMO’ has a previous declaration as ‘<anonymous enum> SBARINFO_WEAPONAMMO’
src/g_shared/sbarinfo.cpp:1130: error: redefinition of ‘class FBarShader’
src/g_shared/sbarinfo.h:262: error: previous definition of ‘class FBarShader’
src/g_shared/sbarinfo.cpp:1241: error: redefinition of ‘class DSBarInfo’
src/g_shared/sbarinfo.h:274: error: previous definition of ‘class DSBarInfo’
make[1]: *** [releaseobj/sbarinfo.o] Error 1
make[1]: Leaving directory `/GuntherDW/src/svn/gzdoom.r62'
make: *** [deps] Error 2
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

- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
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.