Error building r134

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Error building r134

Post by Nash »

Code: Select all

13>Linking...
13>a_bossbrain.obj : error LNK2019: unresolved external symbol "public: class ASpecialSpot * __thiscall DSpotState::GetNextInList(struct PClass const *,int)" (?GetNextInList@DSpotState@@QAEPAVASpecialSpot@@PBUPClass@@H@Z) referenced in function "void __fastcall A_BrainSpit(class AActor *)" (?A_BrainSpit@@YIXPAVAActor@@@Z)
13>a_bossbrain.obj : error LNK2019: unresolved external symbol "public: static class DSpotState * __fastcall DSpotState::GetSpotState(bool)" (?GetSpotState@DSpotState@@SIPAV1@_N@Z) referenced in function "void __fastcall A_BrainSpit(class AActor *)" (?A_BrainSpit@@YIXPAVAActor@@@Z)
13>a_dsparil.obj : error LNK2001: unresolved external symbol "public: static class DSpotState * __fastcall DSpotState::GetSpotState(bool)" (?GetSpotState@DSpotState@@SIPAV1@_N@Z)
13>a_hereticweaps.obj : error LNK2001: unresolved external symbol "public: static class DSpotState * __fastcall DSpotState::GetSpotState(bool)" (?GetSpotState@DSpotState@@SIPAV1@_N@Z)
13>a_dsparil.obj : error LNK2001: unresolved external symbol "public: static struct PClass ASpecialSpot::_StaticType" (?_StaticType@ASpecialSpot@@2UPClass@@A)
13>a_hereticweaps.obj : error LNK2001: unresolved external symbol "public: static struct PClass ASpecialSpot::_StaticType" (?_StaticType@ASpecialSpot@@2UPClass@@A)
13>a_dsparil.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ASpecialSpot::Destroy(void)" (?Destroy@ASpecialSpot@@UAEXXZ)
13>a_hereticweaps.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ASpecialSpot::Destroy(void)" (?Destroy@ASpecialSpot@@UAEXXZ)
13>a_dsparil.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ASpecialSpot::BeginPlay(void)" (?BeginPlay@ASpecialSpot@@UAEXXZ)
13>a_hereticweaps.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall ASpecialSpot::BeginPlay(void)" (?BeginPlay@ASpecialSpot@@UAEXXZ)
13>a_dsparil.obj : error LNK2019: unresolved external symbol "public: class ASpecialSpot * __thiscall DSpotState::GetSpotWithMinDistance(struct PClass const *,int,int,int)" (?GetSpotWithMinDistance@DSpotState@@QAEPAVASpecialSpot@@PBUPClass@@HHH@Z) referenced in function "void __fastcall P_DSparilTeleport(class AActor *)" (?P_DSparilTeleport@@YIXPAVAActor@@@Z)
13>a_hereticweaps.obj : error LNK2019: unresolved external symbol "public: class ASpecialSpot * __thiscall DSpotState::GetRandomSpot(struct PClass const *,bool)" (?GetRandomSpot@DSpotState@@QAEPAVASpecialSpot@@PBUPClass@@_N@Z) referenced in function "protected: virtual bool __thiscall AMace::DoRespawn(void)" (?DoRespawn@AMace@@MAE_NXZ)
13>D:\Games\GZDoom\gzdoom.exe : fatal error LNK1120: 7 unresolved externals
13>Build log was saved at "file://d:\Projects\Game Projects\C++ Projects\doom\gzdoom\trunk\Release\BuildLog.htm"
13>zdoom - 13 error(s), 0 warning(s)
========== Build: 12 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Any band-aid fixes so that it can be compiled and uploaded?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Sorry, apparently I committed before saving the project file. Unfortunately VC++ doesn't do that automatically.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

When building r135 (which still reports itself as 134 for some reason - and I redownloaded twice to check) I get these linking warnings with a debug build, but not a release build:

Code: Select all

snes_spc.lib(SPC_Filter.obj) : warning LNK4217: locally defined symbol __wassert imported in function "public: void __thiscall SPC_Filter::run(short *,int)" (?run@SPC_Filter@@QAEXPAFH@Z)
snes_spc.lib(SNES_SPC_misc.obj) : warning LNK4049: locally defined symbol __wassert imported
snes_spc.lib(SNES_SPC.obj) : warning LNK4049: locally defined symbol __wassert imported
snes_spc.lib(SPC_DSP.obj) : warning LNK4049: locally defined symbol __wassert imported
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Me, too. They are harmless but can't be removed without compromising the error checking.
Locked

Return to “Closed Bugs”