GZDoom compile errors (git related?)

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

Locked
User avatar
StasBFG[iddqd]
Posts: 29
Joined: Thu Nov 16, 2006 4:12
Location: Moscow, Russia
Contact:

GZDoom compile errors (git related?)

Post by StasBFG[iddqd] »

I need help with compiling GZDoom in Visual Studio. This is probably my fault because the SVN team have successfully built latest GIT revision.
I get these errors in the end of process:
[spoiler]

Code: Select all

Linking...
a_strifestuff.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_hereticmisc.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_hexenmisc.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_artitele.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_minotaur.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_weaponpiece.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_weapons.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
olddecorations.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_doommisc.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_soundsequence.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_spark.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_specialspot.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_waterzone.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_sectoraction.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_setcolor.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_skies.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_soundenvironment.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_pickups.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_puzzleitems.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_randomspawner.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_secrettrigger.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_keys.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_mapmarker.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_morph.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_movingcamera.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_decals.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_fastprojectile.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_fountain.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_hatetarget.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_artifacts.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_bridge.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_camera.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_debris.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
p_user.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
s_advsound.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_action.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
a_armor.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
d_dehacked.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
p_buildmap.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
p_mobj.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
p_teleport.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall AActor::PropagateMark(void)" (?PropagateMark@AActor@@UAEIXZ)
warptexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
pngtexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
rawpagetexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
texture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
tgatexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
jpegtexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
multipatchtexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
patchtexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
pcxtexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
ddstexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
emptytexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
flattexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
imgztexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
strife_sbar.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
automaptexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
buildtexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
canvastexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
v_font.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
v_video.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
sbarinfo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
playerdisplay.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::PrecacheGL(void)" (?PrecacheGL@FTexture@@UAEXXZ)
warptexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
pngtexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
rawpagetexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
texture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
tgatexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
jpegtexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
multipatchtexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
patchtexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
pcxtexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
ddstexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
emptytexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
flattexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
imgztexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
strife_sbar.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
automaptexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
buildtexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
canvastexture.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
v_font.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
v_video.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
sbarinfo.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
playerdisplay.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FTexture::UncacheGL(void)" (?UncacheGL@FTexture@@UAEXXZ)
hardware.obj : error LNK2019: unresolved external symbol "public: __thiscall Win32GLVideo::Win32GLVideo(int)" (??0Win32GLVideo@@QAE@H@Z) referenced in function "void __fastcall I_InitGraphics(void)" (?I_InitGraphics@@YIXXZ)
hardware.obj : error LNK2019: unresolved external symbol "struct FRenderer * __fastcall gl_CreateInterface(void)" (?gl_CreateInterface@@YIPAUFRenderer@@XZ) referenced in function "void __fastcall I_CreateRenderer(void)" (?I_CreateRenderer@@YIXXZ)
thingdef_states.obj : error LNK2019: unresolved external symbol "void __fastcall AddStateLight(struct FState *,char const *)" (?AddStateLight@@YIXPAUFState@@PBD@Z) referenced in function "void __fastcall ParseStates(class FScanner &,struct FActorInfo *,class AActor *,struct Baggage &)" (?ParseStates@@YIXAAVFScanner@@PAUFActorInfo@@PAVAActor@@AAUBaggage@@@Z)
texture.obj : error LNK2019: unresolved external symbol "public: __thiscall FTexture::MiscGLInfo::~MiscGLInfo(void)" (??1MiscGLInfo@FTexture@@QAE@XZ) referenced in function __unwindfunclet$??0FTexture@@IAE@PBDH@Z$0
texture.obj : error LNK2019: unresolved external symbol "public: __thiscall FTexture::MiscGLInfo::MiscGLInfo(void)" (??0MiscGLInfo@FTexture@@QAE@XZ) referenced in function "protected: __thiscall FTexture::FTexture(char const *,int)" (??0FTexture@@IAE@PBDH@Z)
../zdoom.exe : fatal error LNK1120: 8 unresolved externals
[/spoiler]
Full build log is attached to this post.

Configuration: VS 2005 Pro, Windows SDK 6.1, DX SDK Feb 2010, OpenGL headers v87 (tried 85 as well), Git for Windows 1.8.3 (msysgit)
How do I get the source:

Code: Select all

git clone https://github.com/coelckers/gzdoom.git
git checkout g1.8.2
These errors happen only with GZDoom and only from Git repo. I have no problems with neither ZDoom Git, nor GZDoom SVN - on the same configuration. Checking out HEAD revision or g1.8.2 tag doesn't make any difference here.
BuildLog.zip
g1.9pre build log
(8.6 KiB) Downloaded 90 times
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: GZDoom compile errors (git related?)

Post by Graf Zahl »

Did you by any chance compile zdoom.sln instead of gzdoom.sln?
For technical reasons I cannot delete the ZDoom project files although they won't work.
They have to be there so I can merge from ZDoom without getting problems about missing files or such.
User avatar
StasBFG[iddqd]
Posts: 29
Joined: Thu Nov 16, 2006 4:12
Location: Moscow, Russia
Contact:

Re: GZDoom compile errors (git related?)

Post by StasBFG[iddqd] »

Oh, that was the reason. I didn't notice gzdoom.sln because it's icon was different from zdoom.sln.
BTW why 'wadsrc-brightmaps' and 'wadsrc-lights' are skipped in x64 configuration?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: GZDoom compile errors (git related?)

Post by Graf Zahl »

Because I don't have a 64 bit compiler and can't test them. If you can fix the project, you can send me a patch.
User avatar
StasBFG[iddqd]
Posts: 29
Joined: Thu Nov 16, 2006 4:12
Location: Moscow, Russia
Contact:

Re: GZDoom compile errors (git related?)

Post by StasBFG[iddqd] »

OK, here is a patch.

Code: Select all

--- gzdoom.sln
+++ gzdoom.sln
@@ -111,15 +111,19 @@ Global
 		{087B206F-F49E-4EFB-92CB-E1F6E32D1278}.Debug|Win32.ActiveCfg = Debug|Win32
 		{087B206F-F49E-4EFB-92CB-E1F6E32D1278}.Debug|Win32.Build.0 = Debug|Win32
 		{087B206F-F49E-4EFB-92CB-E1F6E32D1278}.Debug|x64.ActiveCfg = Debug|Win32
+		{087B206F-F49E-4EFB-92CB-E1F6E32D1278}.Debug|x64.Build.0 = Debug|Win32
 		{087B206F-F49E-4EFB-92CB-E1F6E32D1278}.Release|Win32.ActiveCfg = Release|Win32
 		{087B206F-F49E-4EFB-92CB-E1F6E32D1278}.Release|Win32.Build.0 = Release|Win32
 		{087B206F-F49E-4EFB-92CB-E1F6E32D1278}.Release|x64.ActiveCfg = Release|Win32
+		{087B206F-F49E-4EFB-92CB-E1F6E32D1278}.Release|x64.Build.0 = Release|Win32
 		{31090871-A623-4BBC-A167-DE821CD1240C}.Debug|Win32.ActiveCfg = Debug|Win32
 		{31090871-A623-4BBC-A167-DE821CD1240C}.Debug|Win32.Build.0 = Debug|Win32
 		{31090871-A623-4BBC-A167-DE821CD1240C}.Debug|x64.ActiveCfg = Debug|Win32
+		{31090871-A623-4BBC-A167-DE821CD1240C}.Debug|x64.Build.0 = Debug|Win32
 		{31090871-A623-4BBC-A167-DE821CD1240C}.Release|Win32.ActiveCfg = Release|Win32
 		{31090871-A623-4BBC-A167-DE821CD1240C}.Release|Win32.Build.0 = Release|Win32
 		{31090871-A623-4BBC-A167-DE821CD1240C}.Release|x64.ActiveCfg = Release|Win32
+		{31090871-A623-4BBC-A167-DE821CD1240C}.Release|x64.Build.0 = Release|Win32
 		{6077B7D6-349F-4077-B552-3BC302EF5859}.Debug|Win32.ActiveCfg = Debug|Win32
 		{6077B7D6-349F-4077-B552-3BC302EF5859}.Debug|Win32.Build.0 = Debug|Win32
 		{6077B7D6-349F-4077-B552-3BC302EF5859}.Debug|x64.ActiveCfg = Debug|x64
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: GZDoom compile errors (git related?)

Post by Graf Zahl »

Please repost this as attachment. The forum software mangles the tabs so I can't do anything with it.
User avatar
StasBFG[iddqd]
Posts: 29
Joined: Thu Nov 16, 2006 4:12
Location: Moscow, Russia
Contact:

Re: GZDoom compile errors (git related?)

Post by StasBFG[iddqd] »

OK, I can also post modified gzdoom.sln file.
wadsrc-x64-patch.txt
Adds brightmaps.pk3 and lights.pk3 to x64 configuration
(1.52 KiB) Downloaded 96 times
gzdoom-sln.zip
Updated sln file
(1.71 KiB) Downloaded 85 times
Locked

Return to “GZDoom”